ofString static method
OptionSelectorField<String, String>
ofString(
{ - Key? key,
- required JsonPath attribute,
- required String label,
- String? noOptionsLabel,
- String? placeholder,
- bool? autofocus,
- required bool isRequired,
- required OptionsHandler<String> handler,
- required TypeaheadHandler<String, String> viewHandler,
- TypeaheadFocusMode? focusMode,
})
Implementation
static OptionSelectorField<String, String> ofString({
Key? key,
required JsonPath attribute,
required String label,
String? noOptionsLabel,
String? placeholder,
bool? autofocus,
required bool isRequired,
required OptionsHandler<String> handler,
required TypeaheadHandler<String, String> viewHandler,
TypeaheadFocusMode? focusMode,
}) {
return OptionSelectorField<String, String>.ofKey(
key: key,
attribute: attribute,
label: label,
isRequired: isRequired,
noOptionsLabel: noOptionsLabel,
autofocus: autofocus,
placeholder: placeholder,
handler: handler,
viewHandler: viewHandler,
focusMode: focusMode,
);
}