mod: AppBarTheme
This commit is contained in:
@ -224,12 +224,8 @@ class BuildMainApp extends StatelessWidget {
|
|||||||
|
|
||||||
AppBarTheme appBarTheme(ColorScheme colorScheme) {
|
AppBarTheme appBarTheme(ColorScheme colorScheme) {
|
||||||
return AppBarTheme(
|
return AppBarTheme(
|
||||||
backgroundColor: currentThemeValue == ThemeType.dark
|
backgroundColor: colorScheme.surface,
|
||||||
? darkColorScheme.surface
|
foregroundColor: colorScheme.onSurface,
|
||||||
: lightColorScheme.surface,
|
|
||||||
foregroundColor: currentThemeValue == ThemeType.dark
|
|
||||||
? darkColorScheme.onSurface
|
|
||||||
: lightColorScheme.onSurface,
|
|
||||||
elevation: 0,
|
elevation: 0,
|
||||||
titleSpacing: 0,
|
titleSpacing: 0,
|
||||||
scrolledUnderElevation: 0,
|
scrolledUnderElevation: 0,
|
||||||
|
|||||||
Reference in New Issue
Block a user