ContactListView constructor
const
ContactListView({
- ContactListViewController? controller,
- ChatUIKitContactItemBuilder? itemBuilder,
- List<
Widget> ? beforeWidgets, - List<
Widget> ? afterWidgets, - void onSearchTap(
- List<
ContactItemModel> data
- List<
- String? searchBarHideText,
- Widget? emptyBackground,
- String? errorMessage,
- String? reloadMessage,
- bool enableSearchBar = true,
- bool enableSorting = true,
- bool showAlphabeticalIndicator = true,
- void onTap(
- BuildContext context,
- ContactItemModel model
- void onLongPress(
- BuildContext context,
- ContactItemModel model
- String? sortAlphabetical,
- String specialAlphabeticalLetter = '#',
- void onSelectLetterChanged(
- BuildContext context,
- String? letter
- Key? key,
Implementation
const ContactListView({
this.controller,
this.itemBuilder,
this.beforeWidgets,
this.afterWidgets,
this.onSearchTap,
this.searchBarHideText,
this.emptyBackground,
this.errorMessage,
this.reloadMessage,
this.enableSearchBar = true,
this.enableSorting = true,
this.showAlphabeticalIndicator = true,
this.onTap,
this.onLongPress,
this.sortAlphabetical,
this.specialAlphabeticalLetter = '#',
this.onSelectLetterChanged,
super.key,
});