How to hide a bottom sheet when an image is selected in FLutter code example Example: mainBottomSheet dismiss flutte Navigator.pop(context);