flutter_chat_ui 1.4.1
flutter_chat_ui: ^1.4.1 copied to clipboard
Actively maintained, community-driven chat UI implementation with an optional Firebase BaaS.
1.4.1 #
- Fix release on
pub.dev
1.4.0 #
- Update to Flutter 2.5
1.3.4 #
- Update dependencies
1.3.3 #
- Add
onTextFieldTap. Thanks @halildurmus for the PR! - Add
messageInsetsHorizontalandmessageInsetsVerticalto the theme to customize message bubble's paddings
1.3.2 #
- Fix memory leak. Thanks @m-j-g for reporting!
- Add
customBottomWidgetuseful to remove the input and create a channel view - Add
inputPadding,inputTextCursorColorandinputTextDecorationto the theme for the additional input customization
1.3.1 #
- Rename
buildCustomMessagetocustomMessageBuilder - Update dependencies
1.3.0 #
- Chat is now correctly rendered in not full screen mode. Removed
SafeAreafrom the lib itself, wrapChatcomponent if needed. Thanks @m-j-g for reporting! - Fixes crash deserializing
previewData. Thanks @m-j-g for reporting! - Fixed automatic scroll to bottom issue in paginated mode. Thanks @m-j-g for reporting!
- Added
userAvatarImageBackgroundColor. Thanks @pierrebarbaroux for the PR! - Added
sendButtonVisibilityMode. Thanks @halildurmus for the PR! - Added Turkish localization. Thanks @halildurmus for the PR!
- Update dependencies
1.2.0 #
- Fix avatar color when using an image. Thanks @m-j-g for reporting!
- Can't send spaces using keyboard anymore. Thanks @m-j-g for reporting!
- Update dependencies
1.1.9 #
- Add
sendingIconwidget to the theme. Thanks @abhisunkewar for the PR! - Update dependencies
1.1.8 #
- Update dependencies and example
- Fix scroll controller not attached warning. Thanks @fikretsengul for reporting the bug!
- Fix right margin on input's progress indicator
1.1.7 #
- Update dependencies
1.1.6 #
- Added
emptyStatethat 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!
1.1.5 #
- Added
onTextChangedcallback to detect when user is typing. Thanks @AndreHaueisen for the PR! - Added
dateFormatandtimeFormatallowing user to customize the date and time visible between messages. Thanks @AndreHaueisen for the PR! - Added
customDateHeaderTextallowing to pass and arbitrary string visible between messages. See the documentation in the code for more info.
1.1.4 #
- Remove automatic scroll to bottom for incoming messages
1.1.3 #
- [WEB] Add shortcuts to send messages on
enterpress
1.1.2 #
- 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!
1.1.1 #
Export ChatList class
1.1.0 #
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]
fileNameis renamed toname - BREAKING CHANGE: [ImageMessage]
imageNameis renamed toname - BREAKING CHANGE: [Messages]
authorIdis replaced withauthorto support avatars and names inside the chat - BREAKING CHANGE: [Messages]
timestampis renamed tocreatedAt. All timestamps are inmsnow. - BREAKING CHANGE: [Status]
readis renamed toseen - BREAKING CHANGE: [User]
avatarUrlis renamed toimageUrl - New
customandunsupportedmessage 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,
showUserAvatarsandshowUserNames - 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) buildCustomMessageto 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,sendButtonIcontype changeString->Widgetbody1replaced withemptyChatPlaceholderTextStyle,inputTextStyle,receivedMessageBodyTextStyle,sentMessageBodyTextStylebody2replaced withreceivedMessageLinkDescriptionTextStyle,sentMessageLinkDescriptionTextStylesubtitle1replaced withreceivedMessageLinkTitleTextStyle,sentMessageLinkTitleTextStylesubtitle2andsubtitle2Colorare replaced withdateDividerTextStylecaptionandcaptionColorare replaced withreceivedMessageCaptionTextStyle,sentMessageCaptionTextStyleprimaryTextColorreplaced withreceivedMessageDocumentIconColor,sentMessageDocumentIconColorsecondaryTextColorreplaced withreceivedMessageBodyTextStyle
1.0.7 #
- Disable link preview if
onPreviewDataFetchedis not specified
1.0.6 #
- Update dependencies
1.0.5 #
- Update dependencies
1.0.4 #
- Additional URL preview bug fixes. Thanks @jlubeck for reporting!
- Update to Flutter 2.2
1.0.3 #
- Fix various URL preview bugs (see https://pub.dev/packages/flutter_link_previewer/changelog)
- Add an option to disable URL preview. Thanks @Elementarereigniss for the PR!
- Add portugese localization. Thanks @BerkSpar for the PR!
- Update dependencies
1.0.2 #
- BREAKING CHANGE:
onFilePressedis replaced withonMessageTapto support tap event for different message types. See usage example. - Added
onMessageLongPresscallback, similar to theonMessageTap. - Added
disableImageGalleryparameter to optionally disable the image gallery on the image tap. - Added
subtitle2Colorto the theme, which is used to color date dividers in the chat. Thanks @sarbogast for the PR! - Fixed issues with link preview
1.0.1 #
- Hide the attachment button if
onAttachmentPressedis not passed
1.0.0 #
- Public release
0.8.0 #
- Update example
0.7.0 #
- Update types
0.6.5 #
- Update dependencies
0.6.4 #
- Add documentation comments
0.6.3 #
- Replace universal IO with conditional import
0.6.2 #
- Update dependencies
0.6.1 #
- Use universal IO
0.6.0 #
- Migrate to Flutter 2
0.5.1 #
- Add gallery
0.5.0 #
- Update types
- Add empty chat placeholder
- Fix images
0.4.5 #
- Add attchment uploading handling
0.4.4 #
- Updated to use partial
0.4.3 #
- Fixed missing null check
0.4.2 #
- Dependency update
0.4.1 #
- Fixed missing null check
0.4.0 #
- Connected with link preview
0.3.0 #
- Remove cached image
0.2.0 #
- Add time and statuses
0.1.0 #
- Update LICENSE
0.0.9 #
- Update types
0.0.8 #
- Update types
0.0.7 #
- Fix image and file name overflow
0.0.6 #
- Add file support
0.0.5 #
- Moved types to the dedicated package
0.0.4 #
- Fix image support
0.0.3 #
- Added image support
0.0.2 #
- Added example
0.0.1 #
- Initial release