ChatsList<T extends ChatBase> constructor

ChatsList<T extends ChatBase>({
  1. Key? key,
  2. required ChatsListController<ChatBase> controller,
  3. required String appUserId,
  4. bool areItemsTheSame(
    1. T oldItem,
    2. T newItem
    )?,
  5. ChatsListStyle? chatsListStyle,
  6. GroupAvatarStyle? groupAvatarStyle,
  7. bool unreadBubbleEnabled = true,
  8. required ChatsListTileBuilders<ChatBase> builders,
  9. dynamic scrollHandler(
    1. ScrollNotification scroll
    )?,
})

Implementation

ChatsList(
    {Key? key,
    required this.controller,
    required this.appUserId,
    this.areItemsTheSame,
    this.chatsListStyle,
    this.groupAvatarStyle,
    this.unreadBubbleEnabled = true,
    required this.builders,
    this.scrollHandler})
    : super(key: key);