closeAllDialogs method
Closes all dialogs that are currently open.
id
is for when using nested navigation.
Implementation
void closeAllDialogs({
String? id,
}) {
while ((isDialogOpen!)) {
closeOverlay(id: id);
}
}
Closes all dialogs that are currently open.
id
is for when using nested navigation.
void closeAllDialogs({
String? id,
}) {
while ((isDialogOpen!)) {
closeOverlay(id: id);
}
}