updated flutter to 3.7

This commit is contained in:
Vadim 2023-01-25 12:06:30 +03:00
parent 621c4c8fb7
commit 2e523d12de
2 changed files with 2 additions and 4 deletions

View file

@ -144,13 +144,11 @@ class _ThemeDataProvider extends StatelessWidget {
ThemeData _themeFromColorScheme(ColorScheme scheme) { ThemeData _themeFromColorScheme(ColorScheme scheme) {
return ThemeData( return ThemeData(
useMaterial3: true, useMaterial3: true,
bottomAppBarColor: scheme.surface,
brightness: scheme.brightness, brightness: scheme.brightness,
colorScheme: scheme, colorScheme: scheme,
dialogBackgroundColor: scheme.surface, dialogBackgroundColor: scheme.surface,
dialogTheme: DialogTheme(backgroundColor: scheme.surface), dialogTheme: DialogTheme(backgroundColor: scheme.surface),
scaffoldBackgroundColor: scheme.surface, scaffoldBackgroundColor: scheme.surface,
toggleableActiveColor: scheme.primary,
); );
} }

View file

@ -17,7 +17,7 @@ dependencies:
sdk: flutter sdk: flutter
intl: 0.17.0 intl: 0.17.0
intl_utils: 2.8.1 intl_utils: 2.8.1
material_color_utilities: 0.1.5 material_color_utilities: 0.2.0
package_info_plus: 3.0.2 package_info_plus: 3.0.2
permission_handler: 10.2.0 permission_handler: 10.2.0
provider: 6.0.4 provider: 6.0.4
@ -33,7 +33,7 @@ dev_dependencies:
test: 1.22.2 test: 1.22.2
dependency_overrides: dependency_overrides:
test_api: 0.4.12 test_api: 0.4.16
flutter: flutter:
uses-material-design: true uses-material-design: true