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) {
return numberFormat != null
? NumericTickFormatter.fromNumberFormat(numberFormat!)
: NumericTickFormatter(formatter: formatter);
}