CountdownText constructor
const
CountdownText({})
Creates a CountdownText widget.
CountdownText(
target: event.startsAt,
format: '{d}d {h}h {m}m {s}s',
onFinished: () => print('Done!'),
)
Implementation
const CountdownText({
super.key,
required this.target,
this.format = '{h}:{mm}:{ss}',
this.style,
this.textAlign,
this.onFinished,
this.finishedText = 'Started!',
this.showZeroDays = false,
});