CountOdometer constructor

const CountOdometer({
  1. Key? key,
  2. required int count,
  3. required TextStyle style,
  4. Duration duration = const Duration(milliseconds: 300),
  5. Curve curve = Curves.easeOutCubic,
})

Shows count in style.

Implementation

const CountOdometer({
  super.key,
  required this.count,
  required this.style,
  this.duration = const Duration(milliseconds: 300),
  this.curve = Curves.easeOutCubic,
});