From 6ea9cf34e9fbc27ad8da7e50cd819bcb050a8841 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=83=A1=E5=A4=A9?= Date: Mon, 15 Apr 2024 16:40:41 +0800 Subject: [PATCH] =?UTF-8?q?=E9=99=90=E5=88=B6=E6=8C=87=E5=AE=9AuseMaterial?= =?UTF-8?q?3:=20false?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- lib/util/const.dart | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/util/const.dart b/lib/util/const.dart index b93160d..200e17d 100644 --- a/lib/util/const.dart +++ b/lib/util/const.dart @@ -13,6 +13,7 @@ abstract class Constants { static Color ratingBG = Colors.yellow[600]!; static ThemeData lightTheme = ThemeData( + useMaterial3: false, colorScheme: const ColorScheme.light( background: lightBG, primary: lightPrimary, @@ -37,6 +38,7 @@ abstract class Constants { ); static ThemeData darkTheme = ThemeData( + useMaterial3: false, colorScheme: const ColorScheme.dark( background: darkBG, primary: darkPrimary,