badges 0.0.3 badges: ^0.0.3 copied to clipboard
A flutter package for creating badges.
Badges for Flutter #
A flutter package for creating badges.
Installing: #
In your pubspec.yaml
dependencies:
badges: ^0.0.3
Example Usage: #
BadgeIconButton(
itemCount: _counter, // required
iconData: Icons.shopping_cart, // required
badgeColor: Colors.green, // default: Colors.red
badgeTextColor: Colors.white, // default: Colors.white
hideZeroCount: true, // default: true
onPressed: _increment),
License #
This project is licensed under the Apache License 2.0 - see the LICENSE file for details