FMSearchField constructor
const
FMSearchField({
- Key? key,
- FMData? initialValue,
- dynamic onSearchError()?,
- FMSearchOptions? searchOptions,
- TextFormField textFieldBuilder(
- FocusNode focusNode,
- TextEditingController controller,
- void onChanged()?
- required dynamic onSelected(),
- required TextEditingController textController,
- FMSearchResultListOptions? searchResultListOptions,
- dynamic onOverlayVisibilityChanged()?,
- EdgeInsets margin = const EdgeInsets.all(20),
Implementation
const FMSearchField({
super.key,
this.initialValue,
this.onSearchError,
this.searchOptions,
this.textFieldBuilder,
required this.onSelected,
required this.textController,
this.searchResultListOptions,
this.onOverlayVisibilityChanged,
this.margin = const EdgeInsets.all(20),
});