MiniSearchBar constructor

const MiniSearchBar({
  1. Key? key,
  2. String? initialValue,
  3. TextEditingController? controller,
  4. FocusNode? focusNode,
  5. ValueChanged<String>? onChanged,
  6. ValueChanged<String>? onSubmitted,
  7. String? placeholder,
  8. TextInputAction textInputAction = TextInputAction.search,
  9. bool enabled = true,
  10. bool autofocus = false,
  11. int? maxLength,
})

Implementation

const MiniSearchBar({
  super.key,
  this.initialValue,
  this.controller,
  this.focusNode,
  this.onChanged,
  this.onSubmitted,
  this.placeholder,
  this.textInputAction = TextInputAction.search,
  this.enabled = true,
  this.autofocus = false,
  this.maxLength,
});