From 1d989d27d8a6cabbd6d5694719f1957684e481b9 Mon Sep 17 00:00:00 2001 From: worldofsites Date: Wed, 16 Sep 2020 11:50:50 +0700 Subject: [PATCH] Fix for badge Fix for "No named parameter with the name 'overflow'" error. Related to https://github.com/flutter/flutter/commit/7948a7863bd8931e4e029c5b109f26c1b3dcf8ea --- lib/src/badge.dart | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/src/badge.dart b/lib/src/badge.dart index c67127a..47614d9 100644 --- a/lib/src/badge.dart +++ b/lib/src/badge.dart @@ -80,7 +80,7 @@ class BadgeState extends State with SingleTickerProviderStateMixin { } else { return Stack( alignment: widget.alignment, - overflow: Overflow.visible, + clipBehavior: Clip.none, children: [ widget.child, BadgePositioned(