Constant Dark Theme

This commit is contained in:
2023-12-30 14:43:16 +02:00
parent 9ab300b6b8
commit fedc5df0c7
4 changed files with 95 additions and 1 deletions

View File

@@ -15,8 +15,23 @@ class MyApp extends StatelessWidget {
title: "Entry Point",
theme: ThemeData(
primarySwatch: Colors.blue,
primaryColor: Colors.white,
brightness: Brightness.light,
dividerColor: Colors.white54,
scaffoldBackgroundColor: Colors.white,
),
darkTheme: ThemeData(
primarySwatch: Colors.blue,
primaryColor: Colors.black,
brightness: Brightness.dark,
dividerColor: Colors.black12,
scaffoldBackgroundColor: Color(0xFF131313),
),
themeMode: ThemeMode.system,
// Navigashun with Routes
// Base "Home" Route
initialRoute: '/',