flutter_chat_core 0.0.7
flutter_chat_core: ^0.0.7 copied to clipboard
Core package for Flutter chat apps, complementing flutter_chat_ui. Contains models and core functionality. #chat #ui
0.0.7 #
- Require Flutter 3.29 and Dart 3.7
0.0.6 #
⚠️ Breaking changes ⚠️
- Changed signature of
chatMessageBuilderto includeisRemovedandgroupStatusparameters. - Changed
imageUrltoimageSourcefor theUsermodel. 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
DateTimeproperties 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'sTextThemesemantic naming conventionsshape- Controls border radius of all messages (rounded vs square messages)
✨ Enhanced Customization:
- Individual widget customization available through the
buildersparameter - Example:
loadMoreBuilder: (context) => LoadMore(color: Colors.red)overrides theme colors - Full widget customization possible by returning custom widgets from builders
0.0.4 #
- Added
isOnlyEmojiparameter toTextMessage. - Message builders now include the message index in their parameters.
- Reverted
withValuestowithOpacityto resolve a compatibility issue.
0.0.3 #
- Added
customMessageBuilderfor building custom messages - Added
overlayparameter toImageMessage - Themes:
- Added
ImageMessageTheme(replacingimagePlaceholderColor) - Updated
InputTheme(addingtextFieldColor) - Updated
ScrollToBottomTheme - Updated
TextMessageTheme
- Added
- Added
UploadProgressMixinfor handling upload progress tracking
0.0.2 #
- Bump version to support flutter_chat_ui v2 alpha release
0.0.1 #
- Initial release