iPhone上的振颤底部填充颜色 [英] Flutter bottom padding color on iPhone
本文介绍了iPhone上的振颤底部填充颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
是否可以更改iPhone随附的此底部填充的颜色?
is it possible to change the color of this bottom padding that comes with the iPhone ?
推荐答案
用以下代码在 main.dart
中包装 MaterialApp >班级:-
AnnotatedRegion<SystemUiOverlayStyle>(
value: SystemUiOverlayStyle(
statusBarColor: Colors.transparent, //set as per your status bar color
systemNavigationBarColor: Colors.black, //set as per your navigation bar color
statusBarIconBrightness: Brightness.dark, //set as per your status bar icons' color
systemNavigationBarIconBrightness: Brightness.dark,
),
child: MaterialApp(
这篇关于iPhone上的振颤底部填充颜色的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文