TimerProgress constructor

const TimerProgress({
  1. Key? key,
  2. required int maxTimeMs,
  3. VoidCallback? onTimeComplete,
  4. Widget? onTimeCompleteWidget,
  5. Size? size,
  6. String onText(
    1. int
    )?,
  7. TextStyle? textStyle,
  8. bool showCurrentTime = true,
})

Implementation

const TimerProgress(
    {Key? key,
    required this.maxTimeMs,
    this.onTimeComplete,
    this.onTimeCompleteWidget,
    this.size,
    this.onText,
    this.textStyle,
    this.showCurrentTime = true})
    : super(key: key);