更新输入框提示中文

This commit is contained in:
wyf
2025-07-23 16:04:08 +08:00
parent de4745af90
commit 528e3323cb
2 changed files with 8 additions and 2 deletions

View File

@@ -341,8 +341,12 @@ class MyApp extends StatelessWidget {
GlobalWidgetsLocalizations.delegate, GlobalWidgetsLocalizations.delegate,
GlobalCupertinoLocalizations.delegate, GlobalCupertinoLocalizations.delegate,
], ],
locale: Locale('zh', 'CN'), // 设置默认语言为中文 locale: Locale('zh', 'CN'), // 设置默认语言为中文
supportedLocales: [
Locale('en', 'US'),
Locale('zh', 'CN'),
],
// locale: Locale('zh'), // 设置应用的语言为中文
// home: MainPageBBottomChange(), // home: MainPageBBottomChange(),
// initialRoute: "/loginPage", // initialRoute: "/loginPage",
initialRoute: "/mianPageBottomChange", initialRoute: "/mianPageBottomChange",

View File

@@ -21,6 +21,8 @@ dependencies:
qr_flutter: ^4.1.0 qr_flutter: ^4.1.0
flutter: flutter:
sdk: flutter sdk: flutter
flutter_localizations:
sdk: flutter
ef: ef:
git: git:
# url: http://admin@git.real.he-info.cn:8080/r/ef.git # url: http://admin@git.real.he-info.cn:8080/r/ef.git