refactor: update theme

main
daniel-michel 2024-01-09 19:17:59 +01:00
parent ed5b537550
commit 0a9a8d033f
1 changed files with 9 additions and 2 deletions

View File

@ -18,9 +18,16 @@ class MyApp extends StatelessWidget {
return MaterialApp(
title: 'Movie Schedule',
themeMode: ThemeMode.dark,
darkTheme: ThemeData.dark(useMaterial3: true),
darkTheme: ThemeData.dark(
useMaterial3: true,
).copyWith(
colorScheme: ColorScheme.fromSeed(
seedColor: Colors.deepOrange,
brightness: Brightness.dark,
),
),
theme: ThemeData(
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepPurple),
colorScheme: ColorScheme.fromSeed(seedColor: Colors.deepOrange),
useMaterial3: true,
),
home: HomePage(movieManager),