searchTextFieldBuilder property
TextFormField Function(FocusNode focusNode, TextEditingController controller, void onChanged(String)?)?
searchTextFieldBuilder
final
Create your fully customized text field.
Your text field must use focusNode, controller, and onChanged arguments from this method only.
Example
FMSearchField(
textFieldBuilder: (focusNode, controller, onChanged) => TextFormField(
focusNode: focusNode,
controller: controller,
onChanged: onChanged,
decoration: const InputDecoration(hintText: 'Search Address'),
),
)
Implementation
final TextFormField Function(
FocusNode focusNode,
TextEditingController controller,
void Function(String)? onChanged,
)? searchTextFieldBuilder;