TimeView constructor

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

Implementation

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