更新顶部系统状态栏颜色
This commit is contained in:
@@ -52,6 +52,11 @@ class _MinePageState extends State<NewMinePage> {
|
||||
child: Scaffold(
|
||||
backgroundColor: Colors.transparent,
|
||||
appBar: AppBar(
|
||||
systemOverlayStyle: SystemUiOverlayStyle(
|
||||
statusBarColor: Colors.transparent, // 状态栏背景色
|
||||
statusBarIconBrightness: Brightness.light, // 图标颜色(Android)
|
||||
statusBarBrightness: Brightness.light, // 图标颜色(iOS)
|
||||
),
|
||||
elevation: 0,
|
||||
surfaceTintColor: Colors.transparent,
|
||||
backgroundColor: Colors.transparent,
|
||||
|
||||
Reference in New Issue
Block a user