summaryrefslogtreecommitdiffstats
path: root/lib/main.dart
diff options
context:
space:
mode:
Diffstat (limited to 'lib/main.dart')
-rw-r--r--lib/main.dart20
1 files changed, 12 insertions, 8 deletions
diff --git a/lib/main.dart b/lib/main.dart
index e85c7f6..c09f328 100644
--- a/lib/main.dart
+++ b/lib/main.dart
@@ -9,17 +9,21 @@ class MyApp extends StatelessWidget {
// This widget is the root of your application.
@override
Widget build(BuildContext context) {
+ const navBarColor = const Color(0xff181818);
+ const navBarIconColor = Colors.white;
+
return MaterialApp(
- title: 'Flutter Homescreen',
+ title: 'Homescreen',
theme: ThemeData(
- primarySwatch: Colors.blue,
- brightness: Brightness.light,
- ),
- darkTheme: ThemeData(
- brightness: Brightness.dark,
- /* dark theme settings */
+ navigationBarTheme: NavigationBarThemeData(
+ backgroundColor: navBarColor,
+ labelTextStyle: MaterialStateProperty.all(const TextStyle(
+ color: navBarIconColor,
+ )),
+ iconTheme: MaterialStateProperty.all(const IconThemeData(
+ color: navBarIconColor,
+ ))),
),
- themeMode: ThemeMode.dark,
home: Homescreen(),
);
}