ConversationsViewArguments constructor

ConversationsViewArguments({
  1. ConversationListViewController? controller,
  2. ChatUIKitAppBarModel? appBarModel,
  3. void onSearchTap(
    1. List<ConversationItemModel> data
    )?,
  4. List<Widget>? beforeWidgets,
  5. List<Widget>? afterWidgets,
  6. ConversationItemBuilder? itemBuilder,
  7. void onItemTap(
    1. BuildContext context,
    2. ConversationItemModel info
    )?,
  8. ConversationsViewItemLongPressHandler? onItemLongPressHandler,
  9. String? searchBarHideText,
  10. Widget? emptyBackground,
  11. bool enableAppBar = true,
  12. bool enableSearchBar = true,
  13. ChatUIKitViewObserver? viewObserver,
  14. ChatUIKitMoreActionsBuilder? moreActionsBuilder,
  15. bool enablePinHighlight = true,
  16. Widget? backgroundWidget,
  17. String? attributes,
})

Implementation

ConversationsViewArguments({
  this.controller,
  this.appBarModel,
  this.onSearchTap,
  this.beforeWidgets,
  this.afterWidgets,
  this.itemBuilder,
  this.onItemTap,
  this.onItemLongPressHandler,
  this.searchBarHideText,
  this.emptyBackground,
  this.enableAppBar = true,
  this.enableSearchBar = true,
  this.viewObserver,
  this.moreActionsBuilder,
  this.enablePinHighlight = true,
  this.backgroundWidget,
  this.attributes,
});