TimeView constructor

const TimeView({
  1. required int countdown,
  2. required Builder? builder,
  3. bool enableCancel = false,
  4. Duration duration = const Duration(seconds: 1),
  5. BuildCompleter? buildCompleter,
  6. Key? key,
})

Implementation

const TimeView(
    { required this.countdown,
      required this.builder,
      this.enableCancel = false,
      this.duration = const Duration(seconds: 1),
      this.buildCompleter,
      Key? key})
    : super(key: key);