UAnimatedCounter constructor

const UAnimatedCounter({
  1. required double value,
  2. required Widget builder(
    1. BuildContext context,
    2. double value
    ),
  3. Key? key,
  4. Duration duration = const Duration(milliseconds: 1500),
})

Implementation

const UAnimatedCounter({
  required this.value,
  required this.builder,
  super.key,
  this.duration = const Duration(milliseconds: 1500),
});