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