api 升级v2.0
This commit is contained in:
@@ -62,6 +62,9 @@ class MyApp extends StatelessWidget {
|
||||
return Obx(
|
||||
() => GetCupertinoApp(
|
||||
title: 'Mom\'s Kitchen',
|
||||
key: ValueKey(
|
||||
'theme_${themeService.primaryColor.value.toARGB32()}_${themeService.isDarkMode.value}',
|
||||
),
|
||||
theme: themeService.cupertinoThemeData,
|
||||
locale: Locale(themeService.currentLocale.value),
|
||||
debugShowCheckedModeBanner: false,
|
||||
|
||||
Reference in New Issue
Block a user