DelayedHud2<T1, T2> constructor Null safety

DelayedHud2<T1, T2>(
  1. {Key? key,
  2. required Widget? child,
  3. Color? color,
  4. Widget? hud,
  5. Duration? delayedStart,
  6. Widget hudWidget(
    1. T1 value1,
    2. T2 value2
    )?,
  7. required bool showHud(
    1. T1 value1,
    2. T2 value2
    )}
)

Constructor, only the child attribute is required.

Implementation

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