TimeView constructor
const
TimeView({
- required int countdown,
- required _BuildChild? build,
- TimeViewController? controller,
- bool enableCancel = false,
- Duration duration = const Duration(seconds: 1),
- BuildCompleter? buildCompleter,
- Key? key,
Implementation
const TimeView({
required this.countdown,
required this.build,
this.controller,
this.enableCancel = false,
this.duration = const Duration(seconds: 1),
this.buildCompleter,
Key? key,
}) : assert(countdown > 0, 'countdown must be greater than 0'),
super(key: key);