createTickFormatter method
A formatter will be created with the number format if it is not null. Otherwise, it will create one with the MeasureFormatter callback.
Implementation
@override
NumericTickFormatter createTickFormatter(ChartContext context) =>
numberFormat != null
? NumericTickFormatter.fromNumberFormat(numberFormat!)
: NumericTickFormatter(formatter: formatter);