SearchView constructor

const SearchView({
  1. required List<NeedSearch> searchData,
  2. required String searchHideText,
  3. Widget itemBuilder(
    1. BuildContext context,
    2. ChatUIKitProfile profile,
    3. String? searchKeyword
    )?,
  4. void onTap(
    1. BuildContext context,
    2. ChatUIKitProfile profile
    )?,
  5. bool enableMulti = false,
  6. List<ChatUIKitProfile>? cantChangeSelected,
  7. List<ChatUIKitProfile>? canChangeSelected,
  8. String? selectedTitle,
  9. ChatUIKitViewObserver? viewObserver,
  10. String? attributes,
  11. Key? key,
})

Implementation

const SearchView({
  required this.searchData,
  required this.searchHideText,
  this.itemBuilder,
  this.onTap,
  this.enableMulti = false,
  this.cantChangeSelected,
  this.canChangeSelected,
  this.selectedTitle,
  this.viewObserver,
  this.attributes,
  super.key,
});