iPhone上的颤振底部填充颜色 [英] Flutter bottom padding color on iPhone

查看:15
本文介绍了iPhone上的颤振底部填充颜色的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以更改 iPhone 附带的底部填充的颜色?

is it possible to change the color of this bottom padding that comes with the iPhone ?

推荐答案

包装你的 MaterialApp main.dart:-

Wrap your MaterialApp with below code in main.dart class:-

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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆