flutter_chat_core 0.0.6
flutter_chat_core: ^0.0.6 copied to clipboard
Core package for Flutter chat apps, complementing flutter_chat_ui. Contains models and core functionality. #chat #ui
0.0.6 #
⚠️ Breaking changes ⚠️
- Changed signature of
chatMessageBuilder
to includeisRemoved
andgroupStatus
parameters. - Changed
imageUrl
toimageSource
for theUser
model. Change is necessary to show that not only remote URLs are supported but also local assets.
0.0.5 #
⚠️ Breaking changes ⚠️
🔄 Core Changes:
author
(typeUser
) is replaced withauthorId
(typeString
) for simpler user management- All
DateTime
properties now use milliseconds instead of microseconds for JSON serialization
🎨 Theme Simplification: Theme has been streamlined to 3 key parameters:
colors
- Uses Material 3 semantic names (e.g.primary
,onPrimary
,secondary
) making it easy to apply color schemestypography
- Follows Flutter'sTextTheme
semantic naming conventionsshape
- Controls border radius of all messages (rounded vs square messages)
✨ Enhanced Customization:
- Individual widget customization available through the
builders
parameter - Example:
loadMoreBuilder: (context) => LoadMore(color: Colors.red)
overrides theme colors - Full widget customization possible by returning custom widgets from builders
0.0.4 #
- Added
isOnlyEmoji
parameter toTextMessage
. - Message builders now include the message index in their parameters.
- Reverted
withValues
towithOpacity
to resolve a compatibility issue.
0.0.3 #
- Added
customMessageBuilder
for building custom messages - Added
overlay
parameter toImageMessage
- Themes:
- Added
ImageMessageTheme
(replacingimagePlaceholderColor
) - Updated
InputTheme
(addingtextFieldColor
) - Updated
ScrollToBottomTheme
- Updated
TextMessageTheme
- Added
- Added
UploadProgressMixin
for handling upload progress tracking
0.0.2 #
- Bump version to support flutter_chat_ui v2 alpha release
0.0.1 #
- Initial release