【问题标题】:How to make the drawer in the scaffold at the top of the screen and the BottomNavigationBar is behind on the drawer in flutter如何在屏幕顶部的脚手架中制作抽屉,并且BottomNavigationBar在抽屉后面颤动
【发布时间】:2020-09-13 10:27:52
【问题描述】:

Please see this pic. 这张图片就是我的代码中发生的事情。

我希望抽屉位于底部导航栏的顶部。我想要抽屉后面的底部导航栏。

【问题讨论】:

  • 保留这些指南以在 Stack Overflow 上发布问题,以便读者更好地了解 stackoverflow.com/help/minimal-reproducible-example

标签: flutter drawer scaffold


【解决方案1】:

嘿,你需要使用 bottomSheet :

  bottomSheet:Container(child: .....,) 

【讨论】:

  • 但底纸仍然在抽屉上方。
  • 当抽屉打开时,我希望它在最前面。这意味着底部表或底部导航栏位于抽屉的后面。
猜你喜欢
  • 1970-01-01
  • 2020-04-15
  • 1970-01-01
  • 2021-10-22
  • 2020-09-26
  • 2019-12-05
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多