Skip to content

v2.0.0-beta.1

Pre-release
Pre-release

Choose a tag to compare

@prahack prahack released this 07 Jun 09:51
· 6 commits to master since this release

Pre-release

Try it by pinning the exact version:

dependencies:
  chat_bubbles: 2.0.0-beta.1

Stable 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

  • SelectableText removed from the five text bubbles. Long-press text selection is no longer available out of the box. Use onLongPress to drive a copy menu (the platform convention) or wrap the bubble in SelectableRegion for full selection.
  • BubbleLinkPreview is 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.