isOverlaysClosed property

bool get isOverlaysClosed

Returns true if there is no Snackbar, Dialog or BottomSheet open

Implementation

bool get isOverlaysClosed =>
    (!isSnackbarOpen && !isDialogOpen! && !isBottomSheetOpen!);