closeSheet function
void
closeSheet()
Closes the currently active sheet / drawer.
Implementation
void closeSheet() {
final cfg = activeSheet.value;
activeSheet.value = null;
cfg?.onClose?.call();
}
Closes the currently active sheet / drawer.
void closeSheet() {
final cfg = activeSheet.value;
activeSheet.value = null;
cfg?.onClose?.call();
}