zoukankan      html  css  js  c++  java
  • flutter 顶部状态栏 底部栏 显示和隐藏

            RaisedButton(
                    child: Text('顶部 底部 状态栏都不显示'),
                    onPressed: () {
                      SystemChrome.setEnabledSystemUIOverlays([]);
                    },
                  ),
                  RaisedButton(
                    child: Text('只显示顶部状态栏'),
                    onPressed: () {
                      SystemChrome.setEnabledSystemUIOverlays(
                          [SystemUiOverlay.top]);
                    },
                  ),
                  RaisedButton(
                    child: Text('只显示底部状态栏'),
                    onPressed: () {
                      SystemChrome.setEnabledSystemUIOverlays(
                          [SystemUiOverlay.bottom]);
                    },
                  ),
                  RaisedButton(
                    child: Text('顶部 底部 都显示状态栏'),
                    onPressed: () {
                      SystemChrome.setEnabledSystemUIOverlays(
                          SystemUiOverlay.values);
                    },
                  ),
  • 相关阅读:
    URL
    B/S架构
    SQL查询语句
    SQL-Delete语句
    SQL运算符
    SQL结构查询语言
    SQL数据库数据类型详解
    标准文档流
    CSS
    字体样式
  • 原文地址:https://www.cnblogs.com/xiaochii/p/14030219.html
Copyright © 2011-2022 走看看