Skip to content

Commit c330e18

Browse files
docs: 📝 CHANGELOG.md update
1 parent 4e09e77 commit c330e18

2 files changed

Lines changed: 13 additions & 1 deletion

File tree

CHANGELOG.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
## 0.0.2
22

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

511
## 0.0.1
612

lib/src/controller/chat_list_controller.dart

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,12 @@ base class ChatViewListController {
7676
/// So the order of in UI and from this will be different.
7777
List<ChatViewListItem> get chatList => _chatListMap.values.toList();
7878

79+
/// Provides map of all chats in the chat list.
80+
///
81+
/// **Note**: If a search is active, this will return the full chat map,
82+
/// not the search results. And this map will be unsorted.
83+
Map<String, ChatViewListItem> get chatListMap => _chatListMap;
84+
7985
bool get isSearching => _searchResultMap != null;
8086

8187
/// Stream controller to manage the chat list stream.

0 commit comments

Comments
 (0)