Skip to content

xiaobeiy/flutter_badges

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Badges for Flutter

A flutter package for creating badges.

Package on Pub

Installing:

In your pubspec.yaml

dependencies:
  badges: ^0.0.6

Example Usage:

import 'package:badges/badges.dart';

BadgeIconButton(
                itemCount: _counter, // required
                icon: Icon(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

About

A flutter package for creating badges.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dart 87.4%
  • Objective-C 8.5%
  • Java 4.1%