NumberTicker.builder constructor

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

Implementation

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