From 4ea7bec082c8201325548238b656a8f967f6a592 Mon Sep 17 00:00:00 2001 From: Rydmike Date: Fri, 8 Jul 2022 18:21:43 +0300 Subject: [PATCH] Set defaultUseMaterial3 = false due to Flutter issue 107190 To avoid having this issue visible as default in Theme Playground we default useMaterial3 until it is fixed or behaves better https://github.com/flutter/flutter/issues/107190 --- example/lib/shared/const/store.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/example/lib/shared/const/store.dart b/example/lib/shared/const/store.dart index 4c18ac98..c1648521 100644 --- a/example/lib/shared/const/store.dart +++ b/example/lib/shared/const/store.dart @@ -203,7 +203,7 @@ class Store { // Key used to read and save the useMaterial3 value. static const String keyUseMaterial3 = 'useMaterial3'; // Default value for the useMaterial3, also to reset settings. - static const bool defaultUseMaterial3 = true; + static const bool defaultUseMaterial3 = false; // Key used to read and save the useKeyColors value. static const String keyUseKeyColors = 'useKeyColors';