opt: card theme

Signed-off-by: bggRGjQaUbCoE <githubaccount56556@proton.me>
This commit is contained in:
bggRGjQaUbCoE
2024-11-19 10:41:19 +08:00
parent 43dc130e4b
commit 882015c4ea

View File

@@ -57,7 +57,7 @@ void main() async {
await Request.setCookie(); await Request.setCookie();
RecommendFilter(); RecommendFilter();
SmartDialog.config.toast = SmartDialog.config.toast =
SmartConfigToast(displayType: SmartToastType.onlyRefresh); SmartConfigToast(displayType: SmartToastType.normal);
// 异常捕获 logo记录 // 异常捕获 logo记录
final Catcher2Options debugConfig = Catcher2Options( final Catcher2Options debugConfig = Catcher2Options(
SilentReportMode(), SilentReportMode(),
@@ -184,7 +184,7 @@ class MyApp extends StatelessWidget {
surfaceTintColor: lightColorScheme.surfaceTint, surfaceTintColor: lightColorScheme.surfaceTint,
), ),
cardTheme: CardTheme( cardTheme: CardTheme(
elevation: 2, elevation: 1,
surfaceTintColor: lightColorScheme.surfaceTint, surfaceTintColor: lightColorScheme.surfaceTint,
shadowColor: Colors.transparent, shadowColor: Colors.transparent,
), ),
@@ -216,7 +216,7 @@ class MyApp extends StatelessWidget {
surfaceTintColor: darkColorScheme.surfaceTint, surfaceTintColor: darkColorScheme.surfaceTint,
), ),
cardTheme: CardTheme( cardTheme: CardTheme(
elevation: 2, elevation: 1,
surfaceTintColor: darkColorScheme.surfaceTint, surfaceTintColor: darkColorScheme.surfaceTint,
shadowColor: Colors.transparent, shadowColor: Colors.transparent,
), ),