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
This commit is contained in:
parent
cd83beaa6e
commit
b598aa338f
|
@ -61,9 +61,6 @@ class _AppState extends State<App> {
|
|||
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<App> {
|
|||
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(
|
||||
|
|
Loading…
Reference in New Issue