Skip to content

Releases: flyerhq/flutter_chat_ui

v1.1.6

13 Jul 21:28
Compare
Choose a tag to compare
  • Added emptyState that allows you to customize what the user sees when there are no messages. Thanks @AndreHaueisen for the PR!
  • Added Korean localization. Thanks @ChangJoo-Park for the PR!
  • Can't send spaces anymore. Thanks @kwamerex101 for reporting the bug!

v1.1.5

23 Jun 12:02
Compare
Choose a tag to compare
  • Adds onTextChanged callback to detect when user is typing. Thanks @AndreHaueisen for the PR!
  • Added dateFormat and timeFormat allowing user to customize the date and time visible between messages. Thanks @AndreHaueisen for the PR!
  • Added customDateHeaderText allowing to pass and arbitrary string visible between messages. See the documentation in the code for more info.

v1.1.4

17 Jun 23:37
Compare
Choose a tag to compare

Remove automatic scroll to bottom for incoming messages

v1.1.3

14 Jun 23:25
Compare
Choose a tag to compare

[WEB] Add shortcuts to send messages on enter press

v1.1.2

14 Jun 22:09
Compare
Choose a tag to compare
  • The text inside text messages is now selectable. Thanks @AndreHaueisen for the PR!
  • Scroll to bottom when new message is added. Thanks @jlubeck for reporting!
  • Minor change to make it easier to focus the input field by making the entire composition area tappable. Thanks @muncman for the PR!

v1.1.1

12 Jun 23:01
Compare
Choose a tag to compare

Export ChatList class

v1.1.0

12 Jun 22:37
Compare
Choose a tag to compare

This release marks a major chat architecture overhaul based on a community feedback. In the future we don't expect such big changes in one release and will try to do backwards compatible code as much as possible.

Breaking changes:

  • BREAKING CHANGE: [FileMessage] fileName is renamed to name
  • BREAKING CHANGE: [ImageMessage] imageName is renamed to name
  • BREAKING CHANGE: [Messages] authorId is replaced with author to support avatars and names inside the chat
  • BREAKING CHANGE: [Messages] timestamp is renamed to createdAt. All timestamps are in ms now.
  • BREAKING CHANGE: [Status] read is renamed to seen
  • BREAKING CHANGE: [User] avatarUrl is renamed to imageUrl
  • New custom and unsupported message types. First one is used to build any message you want, second one is to support backwards compatibility

New features:

  • Ability to display user name & avatar, showUserAvatars and showUserNames
  • Automatic messages animation
  • Pagination, onEndReached (use this function to load more items, should be async to correctly show loading indicator), onEndReachedThreshold (value between 0 and 1, where 1 indicates that loading should start when all previous items are visible and 0.5 indicates half of items are visible, defaults to 0.75), isLastPage (if true loading indicator will not be shown)
  • buildCustomMessage to build anything you want. Can be improved to modify bubble, PRs are open :)
  • Time is moved to headers
  • Theme with more customizations

Theme migration guide:

  • attachmentButtonIcon, deliveredIcon, documentIcon, errorIcon, seenIcon, sendButtonIcon type change String -> Widget
  • body1 replaced with emptyChatPlaceholderTextStyle, inputTextStyle, receivedMessageBodyTextStyle, sentMessageBodyTextStyle
  • body2 replaced with receivedMessageLinkDescriptionTextStyle, sentMessageLinkDescriptionTextStyle
  • subtitle1 replaced with receivedMessageLinkTitleTextStyle, sentMessageLinkTitleTextStyle
  • subtitle2 and subtitle2Color are replaced with dateDividerTextStyle
  • caption and captionColor are replaced with receivedMessageCaptionTextStyle, sentMessageCaptionTextStyle
  • primaryTextColor replaced with receivedMessageDocumentIconColor, sentMessageDocumentIconColor
  • secondaryTextColor replaced with receivedMessageBodyTextStyle

v1.0.7

01 Jun 18:28
Compare
Choose a tag to compare

Disable link preview if onPreviewDataFetched is not specified

v1.0.6

01 Jun 15:03
Compare
Choose a tag to compare

Update dependencies

v1.0.5

20 May 20:20
Compare
Choose a tag to compare

Update dependencies