From ef0e25e4218c61d72afe219fdc9bc0d02f04b6cc Mon Sep 17 00:00:00 2001 From: ZHR007 Date: Mon, 10 Nov 2025 17:18:44 +0800 Subject: [PATCH] no message --- lib/main.dart | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/lib/main.dart b/lib/main.dart index 81fcfc5..b2d0f4d 100644 --- a/lib/main.dart +++ b/lib/main.dart @@ -56,6 +56,16 @@ void main() async { GlobalWidgetsLocalizations.delegate, GlobalCupertinoLocalizations.delegate, // iOS ], + theme: ThemeData( + scaffoldBackgroundColor: Colors.white, + // 设置导航栏样式 + appBarTheme: AppBarTheme( + systemOverlayStyle: SystemUiOverlayStyle( + systemNavigationBarColor: Colors.white, + systemNavigationBarIconBrightness: Brightness.light, + ), + ), + ), builder: FlutterSmartDialog.init(), home: MyApp(), ),