update
This commit is contained in:
@@ -19,8 +19,8 @@ import 'package:get_storage/get_storage.dart';
|
||||
Future<void> main() async {
|
||||
/// 设置状态栏样式,透明
|
||||
SystemUiOverlayStyle style = const SystemUiOverlayStyle(
|
||||
statusBarColor: AppColors.transparent,
|
||||
systemNavigationBarColor: AppColors.nav,
|
||||
statusBarColor: AppColors.transparent, // 顶部状态栏
|
||||
systemNavigationBarColor: AppColors.nav, // 底部多出来那块
|
||||
);
|
||||
SystemChrome.setSystemUIOverlayStyle(style);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user