design: Make appbar in material you design for mobile mode

pull/953/head
krille-chan 2 years ago
parent 5687aab290
commit 22b467de21
No known key found for this signature in database

@ -98,8 +98,11 @@ abstract class FluffyThemes {
), ),
appBarTheme: AppBarTheme( appBarTheme: AppBarTheme(
toolbarHeight: FluffyThemes.isColumnMode(context) ? 72 : 56, toolbarHeight: FluffyThemes.isColumnMode(context) ? 72 : 56,
shadowColor: Colors.grey.withAlpha(64), shadowColor: FluffyThemes.isColumnMode(context)
surfaceTintColor: colorScheme.background, ? Colors.grey.withAlpha(64)
: null,
surfaceTintColor:
FluffyThemes.isColumnMode(context) ? colorScheme.background : null,
systemOverlayStyle: SystemUiOverlayStyle( systemOverlayStyle: SystemUiOverlayStyle(
statusBarColor: Colors.transparent, statusBarColor: Colors.transparent,
statusBarIconBrightness: brightness.reversed, statusBarIconBrightness: brightness.reversed,

Loading…
Cancel
Save