closeOverlay<T> function
Implementation
Future<void> closeOverlay<T>(BuildContext context, [T? value]) {
return Data.maybeFind<OverlayHandlerStateMixin>(context)
?.closeWithResult(value) ??
Future.value();
}
Future<void> closeOverlay<T>(BuildContext context, [T? value]) {
return Data.maybeFind<OverlayHandlerStateMixin>(context)
?.closeWithResult(value) ??
Future.value();
}