Flutter隐藏导航栏同时允许设置状态栏

1 Scaffold(
2       body: Stack(
3        children: <Widget>[
4            transparentAppBar(brightness: Brightness.light), //可设置brightness的透明导航栏。backgroundColor: Colors.transparent,leftItem: Container(),
5           Container(),        
6        ],
7      ),
8  ),    

 

posted @ 2020-04-23 14:57  doubletcjs  阅读(1464)  评论(0编辑  收藏  举报