Repository navigation
2.0.0-dev.7
Pre-release
Pre-release
·
172 commits
to main
since this release
- Changed dependency from
flutter_markdowntogpt_markdownfor theFlyerChatTextMessageclass onMessageTapcallback now includes message index and tap up details - updated parameters to(Message item, {int? index, TapUpDetails? details})- Added more customization options to
ChatInput, with default capitalization set to sentences - Changed default behavior of Enter key in
ChatInputto create a newline instead of sending message- To send message on Enter, set
textInputAction: TextInputAction.sendwhen configuringChatInputthrough builders - See
local.dartexample for how to use builders to customize input behavior
- To send message on Enter, set
- Add
ScrollToMessageMixinto enable programmatic scrolling in chat list:scrollToMessage(messageId): Scrolls to a specific message by IDscrollToIndex(index): Scrolls to a message at a specific index- Both methods support customizable animation duration, curve, alignment and offset
- Can be used directly through any
ChatControllerinstance - See the pagination example in the example project for usage details
- Add validation to prevent duplicate message IDs
- Added support for sending messages using Shift+Enter keyboard shortcut in ChatInput
🐛 Bug Fixes
- Fixed flickering in avatar widget by implementing a user cache with LRU eviction strategy, allowing synchronous access to recently resolved user data