closeAllBottomSheets method

void closeAllBottomSheets({
  1. String? id,
})

Implementation

void closeAllBottomSheets({
  String? id,
}) {
  while ((isBottomSheetOpen!)) {
    searchDelegate(id).navigatorKey.currentState?.pop();
  }
}