v2.0.0-beta.1
Pre-releasePre-release
Try it by pinning the exact version:
dependencies:
chat_bubbles: 2.0.0-beta.1Stable consumers on ^1.10.x are unaffected — pub.dev does not auto-upgrade across this pre-release.
What changed
Rewrote the five text bubbles (BubbleNormal, BubbleSpecialOne/Two/Three, BubbleReply) to render the message + meta block (timestamp, "Edited", sent/delivered/seen tick) through a single custom RenderBox. The meta is now anchored to the message's last-line baseline and rendered inline on the last line when it fits — the WhatsApp / iMessage layout — and drops to a right-aligned row below only when it doesn't.
Resolves #26.
Breaking changes
SelectableTextremoved from the five text bubbles. Long-press text selection is no longer available out of the box. UseonLongPressto drive a copy menu (the platform convention) or wrap the bubble inSelectableRegionfor full selection.BubbleLinkPreviewis unchanged (its link-card sits between text and meta, so the inline layout doesn't apply).
Try it & report back
The new layout is sensitive to font metrics. If you see misalignment for a specific text style, please open an issue with a screenshot.
Plan
If feedback is positive, v2.0.0 will ship a few weeks after this beta.