Skip to content

Commit dfd0700

Browse files
committed
update badge
1 parent 2b6a641 commit dfd0700

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

example/badge.dart

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,16 @@ class BadgeExample extends StatelessWidget {
3838
bottom: anchor.top,
3939
translate: const Offset(-0.5, 0.5),
4040
percentageTranslate: true,
41+
),
42+
Container(
43+
color: Colors.green,
44+
).applyConstraint(
45+
width: 100,
46+
height: 100,
47+
left: anchor.right,
48+
right: anchor.right,
49+
top: anchor.bottom,
50+
bottom: anchor.bottom,
4151
)
4252
],
4353
),

0 commit comments

Comments
 (0)