SearchView constructor

const SearchView({
  1. Key? key,
  2. required List<SearchCategory> categories,
  3. RxChat? chat,
  4. bool selectable = true,
  5. bool enabled = true,
  6. String? submit,
  7. void onPressed(
    1. dynamic
    )?,
  8. void onSubmit(
    1. List<UserId> ids
    )?,
  9. void onSelected(
    1. SearchViewResults? results
    )?,
})

Implementation

const SearchView({
  super.key,
  required this.categories,
  this.chat,
  this.selectable = true,
  this.enabled = true,
  this.submit,
  this.onPressed,
  this.onSubmit,
  this.onSelected,
});