feat: remove debug banner and make header font color black

main
2211260 2023-06-21 13:33:42 +02:00
parent 9d7045b613
commit 024a6c3c0b
2 changed files with 7 additions and 1 deletions

View File

@ -12,6 +12,7 @@ class AndroidApp extends StatelessWidget {
Widget build(BuildContext context) { Widget build(BuildContext context) {
final box = Hive.box<User>('USER_BOX'); final box = Hive.box<User>('USER_BOX');
return MaterialApp( return MaterialApp(
debugShowCheckedModeBanner: false,
title: 'Flutter Demo', title: 'Flutter Demo',
theme: ThemeData( theme: ThemeData(
scaffoldBackgroundColor: Colors.grey.shade200, //<-- SEE scaffoldBackgroundColor: Colors.grey.shade200, //<-- SEE

View File

@ -14,7 +14,12 @@ class _OnboardingPageState extends State<OnboardingPage> {
Widget build(BuildContext context) { Widget build(BuildContext context) {
return Scaffold( return Scaffold(
appBar: AppBar( appBar: AppBar(
title: const Text("Welcome"), title: const Text(
"Welcome",
style: TextStyle(
color: Colors.black
),
),
backgroundColor: Colors.grey.shade100, backgroundColor: Colors.grey.shade100,
), ),
body: const FormBuilderComponent(lockTextFields: false,) body: const FormBuilderComponent(lockTextFields: false,)