Scaffold bottomsheet flutter pop(context); but in my case, the BottomSheet is only rendered in certain scenarios so Navigator. return Scaffold( appBar: AppBar(), bottomSheet: _buildBottomSheet(context), body: SingleChildScrollView() The issue I got into is that the bottom sheet hides the lower part of the scroll view. transparent, context: context, builder: (context) => buildSheet(), . flutter I'm trying to achieve a particular behavior for my Scaffold when showing a BottomSheet. you can have a notch around FAB). I understand that the app drawer closely matches a bottom sheet, but bottom sheets in flutter need to be first tapped on them and then dragged. Like the image at the right. That is, when the Bottomheet comes out, the body of the Scaffold should go up with it. I want the Scaffold's body to move along with the bottom sheet. pop(context); would sometimes remove the required screen. The problem is when i close the bottomSheet and click 'SAVE' (in the AppBar). In another widget, I want to close the BottomSheet if it is open (the BottomSheet may or may not be open when the widget is rendered). I would like to validate the form inside the bottomSheet which is included in a Scaffold. How can I do it in flutter? When user drag the bottom sheet up, it turn into a scaffold like the screen on the right. currentState; return null when the bottomSheet is closed. Thank you for answering me :) But bottomSheetTheme Widget seems not applicable as a bottomSheet child under Scaffold Widget because there is no child option 'bottomSheetTheme' in Scaffold – Yeonghyeon Ko The bottom sheet can only be either half or full screen. I know you can use Navigator. So, first of all I created a function for my modalBottomSheet. ), bottomSheet: Text('This is a bottom sheet'), ); } } FWIW, Scaffold. But when we do ScaffoldMessenger. I'm not sure if my approach is the correct one. I am trying to make a launcher in flutter, however I cannot figure out how to make a drawer that can be swiped up from the home screen, like in other launchers like nova or poco or many others. I wanted a bottomsheet that is draggable up and down, but does not close. Once it go full screen, I expect it behave like a scaffold (user can scroll the list view but can not drag down to a bottom sheet anymore). g. It seems final form = _formAddPlayerKey. Future modalBottomSheetShow(BuildContext context) { return showModalBottomSheet( backgroundColor: Colors. transparent, context: context, builder: (context) => buildSheet(), ), bottomSheet: Text('This is a bottom sheet'), ); } } FWIW, Scaffold. bottomNavigationBar supports being semi-transparent (e. The expectation is that the body of the Scaffold (e. of(context), where context is the one provided by the builder method of BottomSheet, it is still able to find the Scaffold and render a Sanckbar when requested. When Flutter opens a modal bottom sheet using showModalBottomSheet, it adds the BottomSheet as a child of MaterialApp rather than Scaffold. , scroll view) would respect the bottom sheet. When the bottomSheet is open I can validate the form. kewi yttpd skquasj ufiqib rnew tzrr hzqxs qsyft dlvfen fnapes