format method
Formats value into a display string.
Implementation
@override
String format(num value) {
final space = spaceBeforeSymbol ? ' ' : '';
final special = formatSpecial(value);
if (special != null) return '$special$space$symbol';
return '${style.format(value * scale)}$space$symbol';
}