/// Wrap around any widget that makes an async call to show a modal progress/// indicator while the async call is in progress./// The progress indicator can be turned on or off using [inAsyncCall]/// The blurry effect's intensity can be be controlled using [blurEffectIntensity]/// The progress indicator defaults to a [CircularProgressIndicator] but can be/// any kind of widget. For this example the SpinKitFadingCircle package is used/// The modal barrier can be dismissed using [dismissible]/// The opacity of the modal barrier can be set using [opacity]/// The color of the modal barrier can be set using [color]/// The progress indicator can be positioned using [offset] otherwise it is/// centeredBlurryModalProgressHUD(
inAsyncCall: isLoading,
blurEffectIntensity: 4,
progressIndicator: SpinKitFadingCircle(
color: purpleColor,
size: 90.0,
),
dismissible: false,
opacity: 0.4,
color: black97Color,
child: Scaffold(),
);
Options
Most of the parameters can be customized via the constructor