void main() {
runApp(MyApp());
//白色
SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle.light);
void main() {
runApp(MyApp());
//黑色
SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle.dark);
}
flutter 改变状态栏字体颜色
最新推荐文章于 2024-04-17 07:28:45 发布