ContactsViewArguments constructor

ContactsViewArguments({
  1. ContactListViewController? controller,
  2. ChatUIKitAppBarModel? appBarModel,
  3. bool enableAppBar = true,
  4. bool enableSearchBar = true,
  5. void onSearchTap(
    1. List<ContactItemModel> data
    )?,
  6. ChatUIKitContactItemBuilder? itemBuilder,
  7. void onTap(
    1. BuildContext context,
    2. ContactItemModel model
    )?,
  8. void onLongPress(
    1. BuildContext context,
    2. ContactItemModel model
    )?,
  9. String? searchHideText,
  10. Widget? listViewBackground,
  11. String? loadErrorMessage,
  12. List<NeedAlphabeticalWidget>? beforeItems,
  13. List<NeedAlphabeticalWidget>? afterItems,
  14. ChatUIKitViewObserver? viewObserver,
  15. String? sortAlphabetical,
  16. String universalAlphabetical = '#',
  17. void onSelectLetterChanged(
    1. BuildContext context,
    2. String? letter
    )?,
  18. bool enableSorting = true,
  19. bool showAlphabeticalIndicator = true,
  20. String? attributes,
})

Implementation

ContactsViewArguments({
  this.controller,
  this.appBarModel,
  this.enableAppBar = true,
  this.enableSearchBar = true,
  this.onSearchTap,
  this.itemBuilder,
  this.onTap,
  this.onLongPress,
  this.searchHideText,
  this.listViewBackground,
  this.loadErrorMessage,
  this.beforeItems,
  this.afterItems,
  this.viewObserver,
  this.sortAlphabetical,
  this.universalAlphabetical = '#',
  this.onSelectLetterChanged,
  this.enableSorting = true,
  this.showAlphabeticalIndicator = true,
  this.attributes,
});