isOverlaysClosed property

bool isOverlaysClosed

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

Implementation

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