Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 7 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
## 0.0.2

- Add support for update message
* **Feat**: [18](https://github.com/SimformSolutionsPvtLtd/chatview_utils/pull/18) Added
`updateMessage()` method in `ChatController` to update existing messages.
* **Feat**: [17](https://github.com/SimformSolutionsPvtLtd/chatview_utils/pull/17) Added
`loadMoreData()` method in `ChatController` to fetch older or new messages.
* **Feat**: [19](https://github.com/SimformSolutionsPvtLtd/chatview_utils/pull/19) Introduced
`ChatViewListController`to support `ChatViewList` widget for managing chat list operations like
add, remove and update chat with animated UI, search functionality, and pagination.

## 0.0.1

Expand Down
6 changes: 6 additions & 0 deletions lib/src/controller/chat_list_controller.dart
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,12 @@ base class ChatViewListController {
/// So the order of in UI and from this will be different.
List<ChatViewListItem> get chatList => _chatListMap.values.toList();

/// Provides map of all chats in the chat list.
///
/// **Note**: If a search is active, this will return the full chat map,
/// not the search results. And this map will be unsorted.
Map<String, ChatViewListItem> get chatListMap => _chatListMap;

bool get isSearching => _searchResultMap != null;

/// Stream controller to manage the chat list stream.
Expand Down