bubble 1.3.0
bubble: ^1.3.0 copied to clipboard
A Flutter widget for chat like a speech bubble in Whatsapp and others.
1.3.0 - 2026-10-15 #
- Requires Dart 3.6 and Flutter 3.27 or newer (was Dart 2.12). The widget and its parameters are unchanged.
- Deprecated
IssueClipper(package:bubble/issue_clipper.dart). It was never part of the bubble, the example no longer draws it, and it will be removed in the next major version. - Every public member is documented.
pubspec.yamlnames the repository, the issue tracker, topics and a screenshot for pub.dev.- The example runs on current Flutter: its platform folders are regenerated,
and its app bar is teal again under Material 3, as on the screenshots. The
chat no longer ends with a leftover test bubble or with the four shadow
outlines of
IssueClipper, and the example no longer depends on url_launcher. - The archive no longer carries the README screenshots, which the README links from GitHub anyway.
- Fixed: a
GlobalKeyonBubblethrew "Multiple widgets used the same GlobalKey", because the bubble passed its key on to theContainerit builds. The key now stays on theBubble. - Fixed: a bubble already on screen was not repainted when its color, border,
shadow or shape changed but its size did not, because
BubblePainter.shouldRepaintandBubbleClipper.shouldReclipalways returnedfalse. Both now compare what they draw.
1.2.1 - 2021-03-10 #
- Added a border (
borderColor,borderWidth,borderUp). - Changed
AlignmenttoAlignmentGeometry. - Added a key.
1.2.0 - 2021-03-10 #
- Null safety!
- Added
BubbleNip.leftCenterandBubbleNip.rightCenter. Since now the width for top/bottom and center is different you need ti use theshowNipparameter instead of BubbleNip.no to remove the nip.
1.1.9+1 - 2019-08-09 #
- Fixed bug - don't draw a circle in the nip in
leftBottomandrightBottommodes.
1.1.9 - 2019-08-09 #
- Remake
stick. Ifstickset tofalse, the right offset of bubble equal to the offset from the left, not taking into account the size of the nip. This allows the bubbles to line up. Ifstickset totrue, the far side will be stick to the edge. - Removed
showNip. It's useless now. - Corrected README.md and screenshots.
1.1.8+2 - 2019-08-07 #
- Fixed README.md.
- Added
stickproperty. - Changed
NO,TOP_LEFTandTOP_RIGHTtono,leftTop,rightTopin BubbleNip. - Added
leftBottomandrightBottomto BubbleNip. - Refactoring.
1.1.7 - 2019-08-05 #
- Added additional properties similar to properties in
style. They are priority. - EdgeInsets replaced by class BubbleEdges. It similar to EdgeInsets, but
default values are null. Thus,
padding: BubbleEdges.only(top: 2)will only replacepadding.topwithout affectingleft,rightandbottom.
1.1.6 - 2019-07-31 #
- Wrote README.md.
- Made screenshots.
1.0.1 - 2019-07-29 #
- Added an example.
0.1.0 - 2019-07-29 #
- Published on https://pub.dev/.
0.0.1 - 2019-07-27 #
- First release.
