SearchTextField constructor
const
SearchTextField({
- Key? key,
- required dynamic filterList(),
- required FocusNode? focusNode,
- required InputDecoration? inputDecoration,
- required TextInputAction keyboardAction,
- required bool obscureText,
- required dynamic onSubmitSearch()?,
- required bool searchFieldEnabled,
- required SearchMode searchMode,
- required TextEditingController? searchTextController,
- required TextInputType textInputType,
- required bool displayClearIcon,
- required bool displaySearchIcon,
- required Color defaultSuffixIconColor,
- required double defaultSuffixIconSize,
- required TextStyle? textStyle,
- required Color? cursorColor,
- required int? maxLines,
- required int? maxLength,
- required TextAlign textAlign,
- required List<
String> autoCompleteHints, - dynamic onSortTap()?,
- Widget? secondaryWidget,
- Widget? sortWidget,
Implementation
const SearchTextField({
Key? key,
required this.filterList,
required this.focusNode,
required this.inputDecoration,
required this.keyboardAction,
required this.obscureText,
required this.onSubmitSearch,
required this.searchFieldEnabled,
required this.searchMode,
required this.searchTextController,
required this.textInputType,
required this.displayClearIcon,
required this.displaySearchIcon,
required this.defaultSuffixIconColor,
required this.defaultSuffixIconSize,
required this.textStyle,
required this.cursorColor,
required this.maxLines,
required this.maxLength,
required this.textAlign,
required this.autoCompleteHints,
this.onSortTap,
this.secondaryWidget,
this.sortWidget,
}) : super(key: key);