SubZeroSearchWithSuggestions constructor
const
SubZeroSearchWithSuggestions({
- Key? key,
- String hintText = 'Search here',
- List<
SubZeroSearchSuggestion> suggestions = const [], - ValueChanged<
SubZeroSearchSuggestion> ? onSuggestionSelected, - ValueChanged<
String> ? onSubmitted, - ValueChanged<
String> ? onChanged, - VoidCallback? onMicrophoneTap,
- bool showMicrophone = true,
- SubZeroSearchSize size = SubZeroSearchSize.medium,
- 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,
});