From 024a6c3c0b6e3cd60ae71a55485dcf3508c2db0e Mon Sep 17 00:00:00 2001 From: 2211260 <2211260@hs-mannheim.de> Date: Wed, 21 Jun 2023 13:33:42 +0200 Subject: [PATCH] feat: remove debug banner and make header font color black --- lib/android/android_app.dart | 1 + lib/android/pages/welcome.dart | 7 ++++++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/lib/android/android_app.dart b/lib/android/android_app.dart index 02c049c..d5958a1 100644 --- a/lib/android/android_app.dart +++ b/lib/android/android_app.dart @@ -12,6 +12,7 @@ class AndroidApp extends StatelessWidget { Widget build(BuildContext context) { final box = Hive.box('USER_BOX'); return MaterialApp( + debugShowCheckedModeBanner: false, title: 'Flutter Demo', theme: ThemeData( scaffoldBackgroundColor: Colors.grey.shade200, //<-- SEE diff --git a/lib/android/pages/welcome.dart b/lib/android/pages/welcome.dart index 0669548..71def2b 100644 --- a/lib/android/pages/welcome.dart +++ b/lib/android/pages/welcome.dart @@ -14,7 +14,12 @@ class _OnboardingPageState extends State { Widget build(BuildContext context) { return Scaffold( appBar: AppBar( - title: const Text("Welcome"), + title: const Text( + "Welcome", + style: TextStyle( + color: Colors.black + ), + ), backgroundColor: Colors.grey.shade100, ), body: const FormBuilderComponent(lockTextFields: false,)