v2.0.3
flutter_badged
Badge for showing with icon. You can use it in the bottom menu, navigation drawer or in any place you want.
24Likes 34730-day downloads150Pub points
AndroidiOSWebmacOSWindowsLinux
Flutter package that contains badge widget
English project snapshot. Visit GitHub for the latest content.
Badge for showing with icon
This widget can be used anywhere, but example will be with bottom navigation.
Different cases of usage:
FlutterBadge(
icon: Icon(Icons.message),
borderRadius: 20.0,
itemCount: 3,
)
FlutterBadge(
icon: Image.asset("assets/ic_message.png"),
hideZeroCount: false,
badgeColor: Colors.greenAccent,
itemCount: 15,
)
FlutterBadge(
icon: Icon(Icons.home),
badgeColor: Colors.greenAccent,
badgeTextColor: Colors.red,
position: BadgePosition.bottomLeft(),
itemCount: 231,
)
Dependency list 2 items
{"sdk":"flutter"}{"sdk":"flutter"}Start with your use case, compare repository activity, and check the original project before adopting it.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗