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,
|
brightness: Brightness.light,
|
||||||
primarySwatch: Colors.blueGrey,
|
primarySwatch: Colors.blueGrey,
|
||||||
primaryColor: Colors.blueGrey[900],
|
primaryColor: Colors.blueGrey[900],
|
||||||
primaryColorBrightness: Brightness.dark,
|
|
||||||
accentColor: Colors.cyan[600],
|
|
||||||
accentColorBrightness: Brightness.dark,
|
|
||||||
fontFamily: 'PublicSans',
|
fontFamily: 'PublicSans',
|
||||||
//scaffoldBackgroundColor: Colors.grey[100],
|
//scaffoldBackgroundColor: Colors.grey[100],
|
||||||
scaffoldBackgroundColor: Colors.white,
|
scaffoldBackgroundColor: Colors.white,
|
||||||
|
@ -76,9 +73,6 @@ class _AppState extends State<App> {
|
||||||
brightness: Brightness.dark,
|
brightness: Brightness.dark,
|
||||||
primarySwatch: Colors.grey,
|
primarySwatch: Colors.grey,
|
||||||
primaryColor: Colors.grey[900],
|
primaryColor: Colors.grey[900],
|
||||||
primaryColorBrightness: Brightness.dark,
|
|
||||||
accentColor: Colors.cyan[600],
|
|
||||||
accentColorBrightness: Brightness.dark,
|
|
||||||
fontFamily: 'PublicSans',
|
fontFamily: 'PublicSans',
|
||||||
scaffoldBackgroundColor: Colors.grey[800],
|
scaffoldBackgroundColor: Colors.grey[800],
|
||||||
bottomSheetTheme: BottomSheetThemeData(
|
bottomSheetTheme: BottomSheetThemeData(
|
||||||
|
|
Loading…
Reference in New Issue