isBottomSheetActive property
bool
get
isBottomSheetActive
Returns true if a bottom sheet is currently active Bottom sheets use the sheet controller with bottom position
Implementation
static bool get isBottomSheetActive {
if (_sheetController.state == null) return false;
final position = _sheetController.state!.sheetPosition;
return position == SheetPosition.bottom;
}