使全屏抖动应用程序 [英] Make flutter application fullscreen

查看:83
本文介绍了使全屏抖动应用程序的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何全屏显示Flutter应用程序。我已经发现了如何隐藏状态栏在Flutter应用程序上隐藏Android状态栏。但是我似乎找不到如何隐藏android导航栏的方法。

How can I make a flutter application fullscreen. I already found out how to hide the status bar Hide Android Status Bar On Flutter App. but I can't seem to find how to hide the android navigation bar.

推荐答案

与Android状态栏完全一样。

It's exactly like for Android status bar.

执行 SystemChrome.setEnabledSystemUIOverlays([])隐藏状态栏和导航栏。

Doing SystemChrome.setEnabledSystemUIOverlays([]) hides both the status bar and the navigation bar.

p / s:使用此
SystemChrome.setEnabledSystemUIOverlays(SystemUiOverlay.values); 禁用全屏模式。

p/s : use this SystemChrome.setEnabledSystemUIOverlays(SystemUiOverlay.values); to disable full screen mode.

这篇关于使全屏抖动应用程序的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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