set close button in top right of bottom sheet flutter code example Example: mainBottomSheet dismiss flutte Navigator.pop(context);