OverlayExt extension

on

Methods

showOverlay<T>({required Future<T> asyncFunction(), Color opacityColor = Colors.black, Widget? loadingWidget, double opacity = .5}) Future<T>

Available on GetInterface, provided by the OverlayExt extension

Shows a translucent barrier with a loadingWidget on top of the current page while asyncFunction runs, then returns its result.