currentStateValue property
Callback to query the widget's state for the value to be assigned to currentState
Implementation
@override
String get currentStateValue {
final attribute =
controller.getSelectionStyle().attributes[options.attribute.key];
return attribute == null
? _defaultDisplayText
: (_getKeyName(attribute.value) ?? _defaultDisplayText);
}