|
@@ -123,7 +123,7 @@ class MyApp extends StatelessWidget {
|
|
defaultTransition: Transition.rightToLeft,
|
|
defaultTransition: Transition.rightToLeft,
|
|
smartManagement: SmartManagement.keepFactory,
|
|
smartManagement: SmartManagement.keepFactory,
|
|
//网页Title显示
|
|
//网页Title显示
|
|
- title: 'YYBusiness-ER',
|
|
|
|
|
|
+ title: 'YY Employer',
|
|
//样式相关
|
|
//样式相关
|
|
theme: ThemeConfig.lightTheme,
|
|
theme: ThemeConfig.lightTheme,
|
|
darkTheme: ThemeConfig.darkTheme,
|
|
darkTheme: ThemeConfig.darkTheme,
|
|
@@ -131,14 +131,15 @@ class MyApp extends StatelessWidget {
|
|
//本地化相关
|
|
//本地化相关
|
|
locale: TranslationService.locale,
|
|
locale: TranslationService.locale,
|
|
fallbackLocale: TranslationService.fallbackLocale,
|
|
fallbackLocale: TranslationService.fallbackLocale,
|
|
- localizationsDelegates: const [
|
|
|
|
|
|
+ localizationsDelegates: const [
|
|
GlobalMaterialLocalizations.delegate,
|
|
GlobalMaterialLocalizations.delegate,
|
|
GlobalWidgetsLocalizations.delegate,
|
|
GlobalWidgetsLocalizations.delegate,
|
|
GlobalCupertinoLocalizations.delegate,
|
|
GlobalCupertinoLocalizations.delegate,
|
|
],
|
|
],
|
|
supportedLocales: const [
|
|
supportedLocales: const [
|
|
- Locale('zh', 'CH'),
|
|
|
|
Locale('en', 'US'),
|
|
Locale('en', 'US'),
|
|
|
|
+ Locale('zh', ''),
|
|
|
|
+ Locale('vi', ''),
|
|
],
|
|
],
|
|
translations: TranslationService(),
|
|
translations: TranslationService(),
|
|
//SmartDialog初始化默认Loading与Toast
|
|
//SmartDialog初始化默认Loading与Toast
|