CounterAnimation constructor
const
CounterAnimation({
- Key? key,
- CountAnimationType animationType = CountAnimationType.part,
- Duration duration = const Duration(milliseconds: 500),
- required int count,
- required CountBuilder countBuilder,
- 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,
});