closeAllDialogsAndBottomSheets method
Implementation
void closeAllDialogsAndBottomSheets(
String? id,
) {
// Close all dialogs and bottomsheets that are open
while ((isDialogOpen! || isBottomSheetOpen!)) {
closeOverlay(id: id);
}
}
void closeAllDialogsAndBottomSheets(
String? id,
) {
// Close all dialogs and bottomsheets that are open
while ((isDialogOpen! || isBottomSheetOpen!)) {
closeOverlay(id: id);
}
}