ContactsView constructor
const
ContactsView({
- ChatUIKitAppBarModel? appBarModel,
- bool enableAppBar = true,
- bool enableSearchBar = true,
- void onSearchTap(
- List<
ContactItemModel> data
- List<
- String? searchHideText,
- Widget? listViewBackground,
- void onTap(
- BuildContext context,
- ContactItemModel model
- void onLongPress(
- BuildContext context,
- ContactItemModel model
- ChatUIKitContactItemBuilder? itemBuilder,
- ContactListViewController? controller,
- String? loadErrorMessage,
- List<
NeedAlphabeticalWidget> ? beforeItems, - List<
NeedAlphabeticalWidget> ? afterItems, - String? attributes,
- ChatUIKitViewObserver? viewObserver,
- String specialAlphabeticalLetter = '#',
- String? sortAlphabetical,
- void onSelectLetterChanged(
- BuildContext context,
- String? letter
- bool enableSorting = true,
- bool showAlphabeticalIndicator = true,
- Key? key,
Implementation
const ContactsView({
this.appBarModel,
this.enableAppBar = true,
this.enableSearchBar = true,
this.onSearchTap,
this.searchHideText,
this.listViewBackground,
this.onTap,
this.onLongPress,
this.itemBuilder,
this.controller,
this.loadErrorMessage,
this.beforeItems,
this.afterItems,
this.attributes,
this.viewObserver,
this.specialAlphabeticalLetter = '#',
this.sortAlphabetical,
this.onSelectLetterChanged,
this.enableSorting = true,
this.showAlphabeticalIndicator = true,
super.key,
});