Flutter全屏应用程序.摆脱Android上应用程序底部的空白区域 [英] Flutter fullscreen app. Getting rid of the blank white space at the bottom of the app on android
本文介绍了Flutter全屏应用程序.摆脱Android上应用程序底部的空白区域的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我使用SystemChrome.setEnabledSystemUIOverlays([]);
使我的Flutter应用全屏显示.
I used SystemChrome.setEnabledSystemUIOverlays([]);
to make my flutter app full screen.
状态栏消失了,但是我在导航栏以前的底部得到了这个空白.
The status bar is gone for good, but I get this white space at the bottom where the nav bar used to be.
推荐答案
您可以在Scaffold
Scaffold(
resizeToAvoidBottomPadding: false,
appBar: new AppBar(),
);
这篇关于Flutter全屏应用程序.摆脱Android上应用程序底部的空白区域的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文