fixed inconsistent placement of appbar title on iOS
This commit is contained in:
@@ -8,6 +8,7 @@ class DarkAppTheme {
|
|||||||
seedColor: marianumRed,
|
seedColor: marianumRed,
|
||||||
brightness: Brightness.dark,
|
brightness: Brightness.dark,
|
||||||
),
|
),
|
||||||
|
appBarTheme: const AppBarTheme(centerTitle: false),
|
||||||
primaryColor: marianumRed,
|
primaryColor: marianumRed,
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -6,6 +6,7 @@ class LightAppTheme {
|
|||||||
static final theme = ThemeData(
|
static final theme = ThemeData(
|
||||||
brightness: Brightness.light,
|
brightness: Brightness.light,
|
||||||
colorScheme: ColorScheme.fromSeed(seedColor: marianumRed),
|
colorScheme: ColorScheme.fromSeed(seedColor: marianumRed),
|
||||||
|
appBarTheme: const AppBarTheme(centerTitle: false),
|
||||||
floatingActionButtonTheme: const FloatingActionButtonThemeData(
|
floatingActionButtonTheme: const FloatingActionButtonThemeData(
|
||||||
foregroundColor: Colors.white,
|
foregroundColor: Colors.white,
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user