更新顶部系统状态栏颜色

This commit is contained in:
wyf
2026-04-07 14:49:31 +08:00
parent 0ead6eb952
commit 30d7764a10
118 changed files with 897 additions and 246 deletions

View File

@@ -241,7 +241,12 @@
// ),
// child: Scaffold(
// backgroundColor: Colors.transparent,
// appBar: AppBar(
// appBar: AppBar(
// systemOverlayStyle: SystemUiOverlayStyle(
// statusBarColor: Colors.transparent, // 状态栏背景色
// statusBarIconBrightness: Brightness.light, // 图标颜色Android
// statusBarBrightness: Brightness.light, // 图标颜色iOS
// ),
// backgroundColor: themeController.currentColor.sc17,
// automaticallyImplyLeading: false,
// iconTheme: IconThemeData(color: themeController.currentColor.sc3),
@@ -1641,7 +1646,12 @@ class _HealthCheckPageState extends State<HealthCheckPage>
),
child: Scaffold(
backgroundColor: Colors.transparent,
appBar: AppBar(
appBar: AppBar(
systemOverlayStyle: SystemUiOverlayStyle(
statusBarColor: Colors.transparent, // 状态栏背景色
statusBarIconBrightness: Brightness.light, // 图标颜色Android
statusBarBrightness: Brightness.light, // 图标颜色iOS
),
backgroundColor: themeController.currentColor.sc17,
automaticallyImplyLeading: false,
iconTheme: IconThemeData(color: themeController.currentColor.sc3),