SubZeroSearchWithSuggestions constructor

const SubZeroSearchWithSuggestions({
  1. Key? key,
  2. String hintText = 'Search here',
  3. List<SubZeroSearchSuggestion> suggestions = const [],
  4. ValueChanged<SubZeroSearchSuggestion>? onSuggestionSelected,
  5. ValueChanged<String>? onSubmitted,
  6. ValueChanged<String>? onChanged,
  7. VoidCallback? onMicrophoneTap,
  8. bool showMicrophone = true,
  9. SubZeroSearchSize size = SubZeroSearchSize.medium,
  10. int maxSuggestions = 5,
})

Implementation

const SubZeroSearchWithSuggestions({
  super.key,
  this.hintText = 'Search here',
  this.suggestions = const [],
  this.onSuggestionSelected,
  this.onSubmitted,
  this.onChanged,
  this.onMicrophoneTap,
  this.showMicrophone = true,
  this.size = SubZeroSearchSize.medium,
  this.maxSuggestions = 5,
});