AnimatedNumericText constructor
AnimatedNumericText({})
Implementation
AnimatedNumericText({
Key? key,
required this.initialValue,
required this.targetValue,
required this.controller,
this.curve = Curves.linear,
this.formatter = '#,##0.00',
this.style,
}) : numberFormat = NumberFormat(formatter),
numberAnimation = Tween<double>(
begin: initialValue,
end: targetValue,
).animate(CurvedAnimation(
parent: controller,
curve: curve,
)),
super(key: key);