setValueLabel property
This function defines a label for every option (from options). The default value is value. Example of usage:
TypeSelector<String>(
setValueLabel: (String value) {
value.substring(0, 1); // for each option, the value label will be the first letter
},
// other properties
);
Implementation
final String Function(T value)? setValueLabel;