[英]How to change system's statusbar color in flutter?
I have problem can't change status bar color in flutter, please help me...我有问题无法在颤振中更改状态栏颜色,请帮助我...
enter image description here在此处输入图片说明
Thank You:)谢谢你:)
Use SystemChrome to change or remove color of statusBar and also you can do more with it使用 SystemChrome 更改或删除 statusBar 的颜色,您还可以使用它做更多事情
SystemChrome.setSystemUIOverlayStyle(SystemUiOverlayStyle(
statusBarColor: Colors.purple,
));
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.