Skip to content

Commit

Permalink
Update bubbles.dart
Browse files Browse the repository at this point in the history
FloatingBubbles.alwaysRepeating allow number of bubbles <10
  • Loading branch information
LenaWirtz committed Jan 29, 2024
1 parent d9491a7 commit 1b76caf
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/src/bubbles.dart
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,8 @@ class FloatingBubbles extends StatefulWidget {
this.duration = 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

0 comments on commit 1b76caf

Please sign in to comment.