From 2ba864c9e090b7527cb5d6a511db647a8b36e17e Mon Sep 17 00:00:00 2001 From: Adrian Baumgart Date: Sun, 23 Jul 2023 15:51:13 +0200 Subject: [PATCH] fixed color issue on Android 11 and below --- lib/main.dart | 2 +- pubspec.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/main.dart b/lib/main.dart index aa381d0..1b95e38 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -12,7 +12,7 @@ class MyApp extends StatelessWidget { const MyApp({super.key}); static final _defaultLightColorScheme = - ColorScheme.fromSwatch(primarySwatch: Colors.blue); + ColorScheme.light();//.fromSwatch(primarySwatch: Colors.blue, backgroundColor: Colors.white); static final _defaultDarkColorScheme = ColorScheme.fromSwatch( primarySwatch: Colors.blue, brightness: Brightness.dark); diff --git a/pubspec.yaml b/pubspec.yaml index b05189b..b49b227 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -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 # 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. -version: 0.9.0+2 +version: 0.9.0+3 environment: sdk: ^2.19.0