How do you adjust the height and borderRadius of a BottomSheet in Flutter?

后端 未结 9 1249
野性不改
野性不改 2021-02-05 03:47

I\'m probably missing something obvious here, but my BottomSheet only takes up the bottom half the screen, even though the widgets in it take up more space. So now there is scro

9条回答
  •  失恋的感觉
    2021-02-05 04:15

    In the above code by @Shyju Madathil you need to add key in scaffold to make it work

    return new Scaffold(
      key: _scaffoldKey,
      ....
    

提交回复
热议问题