From 272fb69e276549771833f0d6dc212b6e8657d03d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Poujhit=20=CE=BC?= Date: Tue, 19 Dec 2023 19:23:33 +0530 Subject: [PATCH 1/4] Change: assert no of bubbles to 1 instead of 10 --- lib/src/bubbles.dart | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/src/bubbles.dart b/lib/src/bubbles.dart index ac1af4e..16c436d 100644 --- a/lib/src/bubbles.dart +++ b/lib/src/bubbles.dart @@ -66,8 +66,8 @@ class FloatingBubbles extends StatefulWidget { this.strokeWidth = 0, this.speed = BubbleSpeed.normal, }) : assert( - noOfBubbles >= 10, - 'Number of Bubbles Cannot be less than 10', + noOfBubbles >= 1, + 'Number of Bubbles Cannot be less than 1', ), assert( sizeFactor > 0 && sizeFactor < 0.5, From a1e02e9f4cb2ea18ba66118bf33df5172d0ef654 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Poujhit=20=CE=BC?= Date: Tue, 19 Dec 2023 19:26:37 +0530 Subject: [PATCH 2/4] doc: added changelog for v2.6.1 --- CHANGELOG.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index b962da5..fb4cfb0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +## [2.6.1] - 19 December 2023 + +- **Fix**: Assert number of bubbles to 1 + ## [2.5.1] - 03 May 2023 - **Fix**: Formatting issue in bubbles.dart file From 76a46c8ad0c68d13d24ceb7cd1debfeed3c02b58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Poujhit=20=CE=BC?= Date: Tue, 19 Dec 2023 19:26:44 +0530 Subject: [PATCH 3/4] doc: readme added --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f31c2dc..15791fb 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ In your flutter project(in pubspec.yaml) add the dependency: ```yaml dependencies: - floating_bubbles: ^2.5.1 + floating_bubbles: ^2.6.1 ``` Import the package: From 65ad449796364fccc4df980131c7ede37c2dd3f1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Poujhit=20=CE=BC?= Date: Tue, 19 Dec 2023 19:26:57 +0530 Subject: [PATCH 4/4] version v2.6.1 release --- pubspec.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pubspec.yaml b/pubspec.yaml index 3d630be..c8832e0 100644 --- a/pubspec.yaml +++ b/pubspec.yaml @@ -1,6 +1,6 @@ name: floating_bubbles description: A Flutter Package for adding Floating bubbles on the Foreground to any Flutter widget. -version: 2.5.1 +version: 2.6.1 homepage: https://github.com/Poujhit/floating_bubbles environment: sdk: '>=2.12.0 <3.0.0'