[英]I want to show the status bar with back color in my Flutter Application
import 'package:flutter/services.dart';
void main() { runApp(MyApp()); void main() { runApp(MyApp());
SystemChrome.setEnabledSystemUIOverlays([SystemUiOverlay.bottom]);
}
I used this to hide the status bar Now I want my status bar again by commenting this I did not get the status bar back, What I can do?我用它来隐藏状态栏现在我想要我的状态栏通过评论这个我没有恢复状态栏,我能做什么?
SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle(
statusBarColor: Colors.transparent,
statusBarIconBrightness: Brightness.dark,
)); )); by using this I resolved the issue
通过使用这个我解决了这个问题
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.