SearchField constructor
const
SearchField({
- Key? key,
- ValueChanged<
String> ? onChanged, - TextEditingController? controller,
- FocusNode? focusNode,
- bool autofocus = false,
- double? height,
- Color? fill,
- Glyph glyph = Glyphs.search,
- String? hintText,
- VoidCallback? onSubmitted,
- Widget? trailing,
Implementation
const SearchField({
super.key,
this.onChanged,
this.controller,
this.focusNode,
this.autofocus = false,
this.height,
this.fill,
this.glyph = Glyphs.search,
this.hintText,
this.onSubmitted,
this.trailing,
});