formatValue method

  1. @override
String formatValue(
  1. T? value
)
override

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);
}