fix new dialogTheme and tabBarTheme types

New type after upgrading to flutter 3.32.0
This commit is contained in:
Tommy Chow 2025-05-25 18:20:11 -07:00
parent 40bc8a3b4a
commit 19e66255be

View file

@ -32,7 +32,7 @@ class FrostyThemes {
backgroundColor: backgroundColor,
surfaceTintColor: backgroundColor,
),
dialogTheme: DialogTheme(
dialogTheme: DialogThemeData(
backgroundColor: backgroundColor,
surfaceTintColor: backgroundColor,
),
@ -66,7 +66,7 @@ class FrostyThemes {
height: 64,
labelBehavior: NavigationDestinationLabelBehavior.alwaysHide,
),
tabBarTheme: const TabBarTheme(
tabBarTheme: const TabBarThemeData(
dividerColor: Colors.transparent,
tabAlignment: TabAlignment.start,
),