isOverlaysClosed property
bool
get
isOverlaysClosed
Returns true if there is no SnackBar, Dialog or BottomSheet open
Implementation
bool get isOverlaysClosed =>
(!isSnackBarOpen && !isDialogOpen! && !isBottomSheetOpen!);