24 lines
573 B
Dart
24 lines
573 B
Dart
import 'package:flutter/material.dart';
|
|
|
|
class FavoritePage extends StatefulWidget {
|
|
const FavoritePage({super.key});
|
|
|
|
@override
|
|
_FavoritePageState createState() => _FavoritePageState();
|
|
}
|
|
|
|
class _FavoritePageState extends State<FavoritePage> {
|
|
@override
|
|
Widget build(BuildContext context) {
|
|
return Scaffold(
|
|
backgroundColor: Colors.black,
|
|
body: Center( // Center the text within the body
|
|
child: Text(
|
|
"Hello",
|
|
style: TextStyle(color: Colors.white), // Change text color for visibility
|
|
),
|
|
),
|
|
);
|
|
}
|
|
}
|