closeSheet function

void closeSheet()

Closes the currently active sheet / drawer.

Implementation

void closeSheet() {
  final cfg = activeSheet.value;
  activeSheet.value = null;
  cfg?.onClose?.call();
}