Compare commits
No commits in common. "e32233a9362dd61989241dea0ed17dbf4fbb63e3" and "07311cd710aeb518ac020c7af3ea60e018dafb6f" have entirely different histories.
e32233a936
...
07311cd710
@ -24,12 +24,15 @@ class MyApp extends StatefulWidget {
|
|||||||
class _MyAppState extends State<MyApp> {
|
class _MyAppState extends State<MyApp> {
|
||||||
@override
|
@override
|
||||||
Widget build(context) {
|
Widget build(context) {
|
||||||
final snackBarTheme = SnackBarThemeData(
|
|
||||||
width: MediaQuery.of(context).size.width * 0.50,
|
|
||||||
behavior: SnackBarBehavior.floating,
|
|
||||||
);
|
|
||||||
|
|
||||||
return MaterialApp(
|
return MaterialApp(
|
||||||
|
title: constants.appTitle,
|
||||||
|
theme: ThemeData(
|
||||||
|
brightness: Brightness.light,
|
||||||
|
colorScheme: ColorScheme.fromSeed(
|
||||||
|
seedColor: Colors.deepOrange,
|
||||||
|
brightness: Brightness.light,
|
||||||
|
),
|
||||||
|
),
|
||||||
themeMode: ThemeMode.dark,
|
themeMode: ThemeMode.dark,
|
||||||
darkTheme: ThemeData(
|
darkTheme: ThemeData(
|
||||||
useMaterial3: true,
|
useMaterial3: true,
|
||||||
@ -41,9 +44,7 @@ class _MyAppState extends State<MyApp> {
|
|||||||
surface: Color.fromARGB(255, 32, 33, 36),
|
surface: Color.fromARGB(255, 32, 33, 36),
|
||||||
surfaceContainerLow: Color.fromARGB(255, 41, 42, 45),
|
surfaceContainerLow: Color.fromARGB(255, 41, 42, 45),
|
||||||
),
|
),
|
||||||
snackBarTheme: snackBarTheme,
|
|
||||||
),
|
),
|
||||||
title: constants.appTitle,
|
|
||||||
initialRoute: '/',
|
initialRoute: '/',
|
||||||
routes: {
|
routes: {
|
||||||
'/': (context) => const HomeScreen(title: constants.appTitle),
|
'/': (context) => const HomeScreen(title: constants.appTitle),
|
||||||
|
Loading…
x
Reference in New Issue
Block a user