StopWatch constructor

const StopWatch({
  1. Key? key,
  2. TextStyle? style,
  3. bool autoStart = false,
  4. CountDownFormat format = CountDownFormat.hms,
  5. void onTick(
    1. Duration remaining
    )?,
})

Implementation

const StopWatch({
  super.key,
  this.style,
  this.autoStart = false,
  this.format = CountDownFormat.hms,
  this.onTick,
});