design: Make appbar in material you design for mobile mode
This commit is contained in:
parent
5687aab290
commit
22b467de21
1 changed files with 5 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue