From b598aa338f133eef76388bdabe3703ada15c09ab Mon Sep 17 00:00:00 2001 From: Ian VanSchooten Date: Wed, 28 Aug 2024 14:45:00 -0400 Subject: [PATCH] Flutter: remove deprecated / removed theme definitions https://docs.flutter.dev/release/breaking-changes/theme-data-accent-properties#migration-guide https://docs.flutter.dev/release/breaking-changes/3-10-deprecations#themedata-primarycolorbrightness --- lib/main.dart | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index 5d68fcc..19626c2 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -61,9 +61,6 @@ class _AppState extends State { brightness: Brightness.light, primarySwatch: Colors.blueGrey, primaryColor: Colors.blueGrey[900], - primaryColorBrightness: Brightness.dark, - accentColor: Colors.cyan[600], - accentColorBrightness: Brightness.dark, fontFamily: 'PublicSans', //scaffoldBackgroundColor: Colors.grey[100], scaffoldBackgroundColor: Colors.white, @@ -76,9 +73,6 @@ class _AppState extends State { brightness: Brightness.dark, primarySwatch: Colors.grey, primaryColor: Colors.grey[900], - primaryColorBrightness: Brightness.dark, - accentColor: Colors.cyan[600], - accentColorBrightness: Brightness.dark, fontFamily: 'PublicSans', scaffoldBackgroundColor: Colors.grey[800], bottomSheetTheme: BottomSheetThemeData(