WidgetHUD constructor

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

Initialize WidgetHUD

Implementation

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