diff --git a/lib/src/badge.dart b/lib/src/badge.dart index 04b3220..efac452 100644 --- a/lib/src/badge.dart +++ b/lib/src/badge.dart @@ -108,7 +108,7 @@ class BadgeState extends State with SingleTickerProviderStateMixin { } final border = type == MaterialType.circle ? null - : RoundedRectangleBorder(borderRadius: widget.borderRadius); + : RoundedRectangleBorder(borderRadius: widget.borderRadius ?? BorderRadius.zero); Widget badgeView() { return AnimatedOpacity(