NumberTickerBuilder typedef

NumberTickerBuilder = Widget Function(BuildContext context, num number, Widget? child)

A callback that builds a widget based on an animated number value.

Used by NumberTicker.builder to construct custom presentations of the animated number. The number parameter contains the current interpolated numeric value, while child is an optional widget for optimization.

Implementation

typedef NumberTickerBuilder = Widget Function(
    BuildContext context, num number, Widget? child);