mirror of
https://github.com/vodemn/m3_lightmeter.git
synced 2024-11-22 07:20:39 +00:00
fixed default scaffold background color
This commit is contained in:
parent
338a333a38
commit
41353c9383
1 changed files with 2 additions and 2 deletions
|
@ -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(
|
||||||
|
|
Loading…
Reference in a new issue