DelayedHud constructor Null safety

DelayedHud(
  1. {Key? key,
  2. required Widget child,
  3. Color? color,
  4. Widget? hud,
  5. Duration? delayedStart,
  6. Widget hudWidget(
      )?,
    1. required bool showHud(
        )}
      )

      Constructor, only the child attribute is required.

      Implementation

      DelayedHud(
          {Key? key,
          required this.child,
          this.color,
          this.hud,
          this.delayedStart,
          this.hudWidget,
          required this.showHud})
          : super(key: key);