CountdownFormatted constructor
const
CountdownFormatted({
- Key? key,
- required Duration duration,
- required Widget builder(
- BuildContext context,
- String remaining
- void onFinish()?,
- CountdownStatus? countdownStatus = CountdownStatus.play,
- void onTick(
- Duration duration
- Duration interval = const Duration(seconds: 1),
- String formatter()?,
Implementation
const CountdownFormatted(
{Key? key,
required this.duration,
required this.builder,
this.onFinish,
this.countdownStatus = CountdownStatus.play,
this.onTick,
this.interval = const Duration(seconds: 1),
this.formatter})
: super(key: key);