From 1b76cafa7d8d2d93cb8c037752306e9b22410897 Mon Sep 17 00:00:00 2001 From: LenaW <74858037+LenaWirtz@users.noreply.github.com> Date: Mon, 29 Jan 2024 13:37:19 +0100 Subject: [PATCH] Update bubbles.dart FloatingBubbles.alwaysRepeating allow number of bubbles <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 16c436d..bc5c68a 100644 --- a/lib/src/bubbles.dart +++ b/lib/src/bubbles.dart @@ -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,