Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/dart/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Flutter 颤振保存区启用底部栏不工作?_Flutter_Dart_Widget - Fatal编程技术网

Flutter 颤振保存区启用底部栏不工作?

Flutter 颤振保存区启用底部栏不工作?,flutter,dart,widget,Flutter,Dart,Widget,海飞 我对SaveArea小部件有一个问题,我会启用底部栏,但它不能为我工作 这是我写的代码: return Scaffold( body: SafeArea( bottom: false, child: Stack( alignment: Alignment.topCenter, overflow: Overflow.visible, children: [ Navi

海飞

我对SaveArea小部件有一个问题,我会启用底部栏,但它不能为我工作

这是我写的代码:

return Scaffold(
      body: SafeArea(
        bottom: false,
        child: Stack(
          alignment: Alignment.topCenter,
          overflow: Overflow.visible,
          children: [
            NavigationBar(),
            AppBody()
          ],
        ),
      ),
    );


我应该怎么做才能让它工作?

只需将脚手架上的
resizeToAvoidBottomInset
设置为
false