CounterAnimation constructor

const CounterAnimation({
  1. Key? key,
  2. CountAnimationType animationType = CountAnimationType.part,
  3. Duration duration = const Duration(milliseconds: 500),
  4. required int count,
  5. required CountBuilder countBuilder,
  6. ValueCallback<int>? onTap,
})

Implementation

const CounterAnimation({
  super.key,
  this.animationType = CountAnimationType.part,
  this.duration = const Duration(milliseconds: 500),
  required this.count,
  required this.countBuilder,
  this.onTap,
});