ConversationListView constructor

const ConversationListView({
  1. ConversationListViewController? controller,
  2. ConversationItemBuilder? itemBuilder,
  3. List<Widget>? beforeWidgets,
  4. List<Widget>? afterWidgets,
  5. void onSearchTap(
    1. List<ConversationItemModel> data
    )?,
  6. String? searchBarHideText,
  7. Widget? emptyBackground,
  8. String? errorMessage,
  9. String? reloadMessage,
  10. void onTap(
    1. BuildContext context,
    2. ConversationItemModel info
    )?,
  11. void onLongPress(
    1. BuildContext context,
    2. ConversationItemModel info
    )?,
  12. bool enableLongPress = true,
  13. bool enableSearchBar = true,
  14. bool enablePinHighlight = true,
  15. Key? key,
})

Implementation

const ConversationListView({
  this.controller,
  this.itemBuilder,
  this.beforeWidgets,
  this.afterWidgets,
  this.onSearchTap,
  this.searchBarHideText,
  this.emptyBackground,
  this.errorMessage,
  this.reloadMessage,
  this.onTap,
  this.onLongPress,
  this.enableLongPress = true,
  this.enableSearchBar = true,
  this.enablePinHighlight = true,
  super.key,
});