formatValue method
Formats a value using provided NumberFormat
, falling back to
MaterialInputDefaultValueAccessor formatValue if none provided.
Implementation
@override
String formatValue(T? value) {
if (value == null) return '';
return _numberFormat?.format(value) ?? super.formatValue(value);
}