Flutter How to detect bottom sheet is closed code example Example: mainBottomSheet dismiss flutte Navigator.pop(context);