diff --git a/lib/core/theme/app_theme.dart b/lib/core/theme/app_theme.dart index e032eb7..510d767 100644 --- a/lib/core/theme/app_theme.dart +++ b/lib/core/theme/app_theme.dart @@ -88,7 +88,7 @@ class AppTheme { color: scheme.onSurface, ), ), - cardTheme: CardTheme( + cardTheme: CardThemeData( elevation: 0, margin: EdgeInsets.zero, clipBehavior: Clip.antiAlias, @@ -147,7 +147,7 @@ class AppTheme { elevation: 1, highlightElevation: 1, ), - dialogTheme: DialogTheme( + dialogTheme: DialogThemeData( shape: shapeL, backgroundColor: isDark ? scheme.surfaceContainerHigh : scheme.surfaceContainerLowest, surfaceTintColor: Colors.transparent, @@ -223,7 +223,7 @@ class AppTheme { collapsedShape: shapeM, iconColor: scheme.onSurfaceVariant, ), - tabBarTheme: TabBarTheme( + tabBarTheme: TabBarThemeData( dividerColor: Colors.transparent, indicatorSize: TabBarIndicatorSize.label, labelColor: scheme.onSurface, diff --git a/pubspec.yaml b/pubspec.yaml index f7d54e8..f2c62b4 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: zv_manager description: Minecraft服务器管理工具 -version: 2.0.0+13 +version: 2.0.1+14 environment: sdk: ">=3.0.0 <4.0.0"