bump flutter

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2025-05-21 15:36:13 +08:00
parent ac60ac417b
commit 04a157c64a
7 changed files with 30 additions and 23 deletions

View File

@@ -297,7 +297,7 @@ class PageUtils {
context: context,
useSafeArea: true,
isScrollControlled: true,
sheetAnimationStyle: AnimationStyle(curve: Curves.ease),
sheetAnimationStyle: const AnimationStyle(curve: Curves.ease),
constraints: BoxConstraints(
maxWidth: min(640, min(Get.width, Get.height)),
),
@@ -531,7 +531,7 @@ class PageUtils {
elevation: 0,
backgroundColor: Colors.transparent,
transitionAnimationController: transitionAnimationController,
sheetAnimationStyle: AnimationStyle(duration: Duration.zero),
sheetAnimationStyle: const AnimationStyle(duration: Duration.zero),
);
}

View File

@@ -157,7 +157,7 @@ class RequestUtils {
context: context,
useSafeArea: true,
isScrollControlled: true,
sheetAnimationStyle: AnimationStyle(curve: Curves.ease),
sheetAnimationStyle: const AnimationStyle(curve: Curves.ease),
constraints: BoxConstraints(
maxWidth: min(640, min(Get.width, Get.height)),
),

View File

@@ -39,7 +39,7 @@ class ThemeUtils {
labelSmall: textStyle,
),
tabBarTheme:
fontWeight == null ? null : TabBarTheme(labelStyle: textStyle),
fontWeight == null ? null : TabBarThemeData(labelStyle: textStyle),
appBarTheme: AppBarTheme(
elevation: 0,
titleSpacing: 0,
@@ -72,7 +72,7 @@ class ThemeUtils {
popupMenuTheme: PopupMenuThemeData(
surfaceTintColor: isDynamic ? colorScheme.onSurfaceVariant : null,
),
cardTheme: CardTheme(
cardTheme: CardThemeData(
elevation: 1,
surfaceTintColor: isDynamic
? colorScheme.onSurfaceVariant
@@ -84,7 +84,7 @@ class ThemeUtils {
progressIndicatorTheme: ProgressIndicatorThemeData(
refreshBackgroundColor: colorScheme.onSecondary,
),
dialogTheme: DialogTheme(
dialogTheme: DialogThemeData(
titleTextStyle: TextStyle(
fontSize: 18,
color: colorScheme.onSurface,