fixed inconsistent placement of appbar title on iOS

This commit is contained in:
2026-07-09 12:04:20 +02:00
parent cedeb06569
commit b0d2e7a34b
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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,
); );
} }
+1
View File
@@ -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,
), ),