NumberTicker constructor

const NumberTicker({
  1. Key? key,
  2. num? initialNumber,
  3. required num number,
  4. required NumberTickerFormatted? formatter,
  5. Duration duration = const Duration(milliseconds: 500),
  6. Curve curve = Curves.easeInOut,
  7. TextStyle? style,
})

Implementation

const NumberTicker({
  super.key,
  this.initialNumber,
  required this.number,
  required this.formatter,
  this.duration = const Duration(milliseconds: 500),
  this.curve = Curves.easeInOut,
  this.style,
})  : builder = null,
      child = null;