Countup constructor

const Countup({
  1. required Key? key,
  2. bool paused = false,
  3. Duration initialDuration = Duration.zero,
  4. Duration? maxDuration,
  5. TimerController? controller,
  6. VoidCallback? onFinish,
  7. TextStyle? timeStyle,
  8. CountupWidgetBuilder? timerWidgetBuilder,
})

Implementation

const Countup({
  required super.key,
  this.paused = false,
  this.initialDuration = Duration.zero,
  this.maxDuration,
  this.controller,
  this.onFinish,
  this.timeStyle,
  this.timerWidgetBuilder,
});