formatter property

String Function(T value)? formatter
final

Optional display formatter. When provided, displayValue uses this instead of the default toString() representation.

Implementation

final String Function(T value)? formatter;