OdometerAnimationTransitionBuilder typedef Null safety

OdometerAnimationTransitionBuilder = Widget Function(int value, int place, double animation)

The signature for builders used to generate custom transitions for the OdometerNumber.

The function should return a widget that wraps the given value. It may also use the place and the animation to inform its transition.

Implementation

typedef OdometerAnimationTransitionBuilder = Widget Function(
  int value,
  int place,
  double animation,
);