WidgetHUD constructor

WidgetHUD({
  1. Key? key,
  2. required TransitionBuilder builder,
  3. Widget? child,
  4. VoidCallback? onCancel,
  5. bool showHUD = false,
  6. double? value,
  7. HUD? hud,
})

Initialize WidgetHUD

Implementation

WidgetHUD({
  Key? key,
  required this.builder,
  this.child,
  this.onCancel,
  this.showHUD = false,
  this.value,
  HUD? hud,
})  : hud = hud ??= HUD.kDefaultHUD,
      super(key: key);