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