更新顶部系统状态栏颜色
This commit is contained in:
@@ -15,6 +15,7 @@ import 'package:vbvs_app/controller/theme_controller/ThemeController.dart';
|
||||
import 'package:vbvs_app/controller/user_info_controller.dart';
|
||||
import 'package:vbvs_app/enum/APPPackageType.dart';
|
||||
import 'package:EasyDartModule/EasyDartModule.dart' as edm;
|
||||
import 'package:flutter/services.dart';
|
||||
|
||||
// class XiaoEPage extends StatefulWidget {
|
||||
// var sleepUri;
|
||||
@@ -63,7 +64,12 @@ import 'package:EasyDartModule/EasyDartModule.dart' as edm;
|
||||
// ),
|
||||
// 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,
|
||||
// backgroundColor: Colors.transparent,
|
||||
// automaticallyImplyLeading: false,
|
||||
@@ -262,7 +268,12 @@ class _XiaoEPageState extends State<XiaoEPage>
|
||||
),
|
||||
child: Scaffold(
|
||||
backgroundColor: Colors.transparent,
|
||||
appBar: AppBar(
|
||||
appBar: AppBar(
|
||||
systemOverlayStyle: SystemUiOverlayStyle(
|
||||
statusBarColor: Colors.transparent, // 状态栏背景色
|
||||
statusBarIconBrightness: Brightness.light, // 图标颜色(Android)
|
||||
statusBarBrightness: Brightness.light, // 图标颜色(iOS)
|
||||
),
|
||||
backgroundColor: Colors.transparent,
|
||||
automaticallyImplyLeading: false,
|
||||
iconTheme: IconThemeData(color: themeController.currentColor.sc3),
|
||||
|
||||
Reference in New Issue
Block a user