fixed color issue on Android 11 and below

This commit is contained in:
Adrian Baumgart 2023-07-23 15:51:13 +02:00
parent c8f462b61d
commit 2ba864c9e0
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -12,7 +12,7 @@ class MyApp extends StatelessWidget {
const MyApp({super.key}); const MyApp({super.key});
static final _defaultLightColorScheme = static final _defaultLightColorScheme =
ColorScheme.fromSwatch(primarySwatch: Colors.blue); ColorScheme.light();//.fromSwatch(primarySwatch: Colors.blue, backgroundColor: Colors.white);
static final _defaultDarkColorScheme = ColorScheme.fromSwatch( static final _defaultDarkColorScheme = ColorScheme.fromSwatch(
primarySwatch: Colors.blue, brightness: Brightness.dark); primarySwatch: Colors.blue, brightness: Brightness.dark);

View File

@ -16,7 +16,7 @@ publish_to: 'none' # Remove this line if you wish to publish to pub.dev
# https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html # https://developer.apple.com/library/archive/documentation/General/Reference/InfoPlistKeyReference/Articles/CoreFoundationKeys.html
# In Windows, build-name is used as the major, minor, and patch parts # In Windows, build-name is used as the major, minor, and patch parts
# of the product and file versions while build-number is used as the build suffix. # of the product and file versions while build-number is used as the build suffix.
version: 0.9.0+2 version: 0.9.0+3
environment: environment:
sdk: ^2.19.0 sdk: ^2.19.0