Skip to content

Commit

Permalink
Merge pull request #8 from Poujhit/dev
Browse files Browse the repository at this point in the history
v2.6.1 release
  • Loading branch information
Poujhit authored Dec 19, 2023
2 parents 481a1bf + 65ad449 commit d9491a7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
4 changes: 2 additions & 2 deletions lib/src/bubbles.dart
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -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'
Expand Down

0 comments on commit d9491a7

Please sign in to comment.