SearchTextField constructor

const SearchTextField({
  1. Key? key,
  2. required dynamic filterList(
    1. String
    ),
  3. required FocusNode? focusNode,
  4. required InputDecoration? inputDecoration,
  5. required TextInputAction keyboardAction,
  6. required bool obscureText,
  7. required dynamic onSubmitSearch(
    1. String
    )?,
  8. required bool searchFieldEnabled,
  9. required SearchMode searchMode,
  10. required TextEditingController? searchTextController,
  11. required TextInputType textInputType,
  12. required bool displayClearIcon,
  13. required Color defaultSuffixIconColor,
})

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.defaultSuffixIconColor,
}) : super(key: key);