fixed default scaffold background color

This commit is contained in:
Vadim 2024-05-03 11:26:16 +02:00
parent 338a333a38
commit 41353c9383

View file

@ -30,7 +30,7 @@ ThemeData themeFrom(Color primaryColor, Brightness brightness) {
colorScheme: scheme, colorScheme: scheme,
appBarTheme: AppBarTheme( appBarTheme: AppBarTheme(
elevation: 4, elevation: 4,
color: scheme.surface, color: scheme.background,
surfaceTintColor: scheme.surfaceTint, surfaceTintColor: scheme.surfaceTint,
), ),
cardTheme: CardTheme( cardTheme: CardTheme(
@ -58,7 +58,7 @@ ThemeData themeFrom(Color primaryColor, Brightness brightness) {
iconColor: scheme.onSurface, iconColor: scheme.onSurface,
textColor: scheme.onSurface, textColor: scheme.onSurface,
), ),
scaffoldBackgroundColor: scheme.surface, scaffoldBackgroundColor: scheme.background,
); );
return theme.copyWith( return theme.copyWith(
listTileTheme: ListTileThemeData( listTileTheme: ListTileThemeData(