SubZeroSearchField constructor
const
SubZeroSearchField({
- Key? key,
- String hintText = 'Search here',
- ValueChanged<
String> ? onSubmitted, - ValueChanged<
String> ? onChanged, - VoidCallback? onFocused,
- VoidCallback? onCleared,
- VoidCallback? onMicrophoneTap,
- bool showMicrophone = true,
- String? initialValue,
- TextEditingController? controller,
- FocusNode? focusNode,
- SubZeroSearchSize size = SubZeroSearchSize.medium,
- bool enabled = true,
- bool autofocus = false,
- Color? backgroundColor,
- Color? focusedBorderColor,
Implementation
const SubZeroSearchField({
super.key,
this.hintText = 'Search here',
this.onSubmitted,
this.onChanged,
this.onFocused,
this.onCleared,
this.onMicrophoneTap,
this.showMicrophone = true,
this.initialValue,
this.controller,
this.focusNode,
this.size = SubZeroSearchSize.medium,
this.enabled = true,
this.autofocus = false,
this.backgroundColor,
this.focusedBorderColor,
});