CountUpBit constructor

const CountUpBit({
  1. Key? key,
  2. int from = 0,
  3. required int to,
  4. String direction = 'up',
  5. double delay = 0,
  6. double duration = 2,
  7. String? separator = '',
  8. VoidCallback? onStart,
  9. VoidCallback? onEnd,
  10. bool startWhen = true,
  11. TextStyle? style,
})

Implementation

const CountUpBit({
  Key? key,
  this.from = 0,
  required this.to,
  this.direction = 'up',
  this.delay = 0,
  this.duration = 2,
  this.separator = '',
  this.onStart,
  this.onEnd,
  this.startWhen = true,
  this.style,
}) : super(key: key);