InputSearchField constructor

const InputSearchField({
  1. Key? key,
  2. String placeholder = 'Search...',
  3. TextEditingController? controller,
  4. ValueChanged<String>? onChanged,
  5. VoidCallback? onSearch,
  6. VoidCallback? onClear,
  7. bool autoFocus = false,
  8. bool enabled = true,
})

Implementation

const InputSearchField({
  super.key,
  this.placeholder = 'Search...',
  this.controller,
  this.onChanged,
  this.onSearch,
  this.onClear,
  this.autoFocus = false,
  this.enabled = true,
});