badges 0.0.4 copy "badges: ^0.0.4" to clipboard
badges: ^0.0.4 copied to clipboard

outdatedDart 1 only

A flutter package for creating badges.

Badges for Flutter #

A flutter package for creating badges.

Installing: #

In your pubspec.yaml

dependencies:
  badges: ^0.0.4

Example Usage: #

import 'package:badges/badges.dart';

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

3495
likes
0
pub points
100%
popularity

Publisher

verified publisheryako.io

A flutter package for creating badges.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter

More

Packages that depend on badges