SearchField constructor

const SearchField({
  1. Key? key,
  2. ValueChanged<String>? onChanged,
  3. TextEditingController? controller,
  4. FocusNode? focusNode,
  5. bool autofocus = false,
  6. double? height,
  7. Color? fill,
  8. Glyph glyph = Glyphs.search,
  9. String? hintText,
  10. VoidCallback? onSubmitted,
  11. 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,
});