Category : Badges

Badges for Flutter Installing: In your pubspec.yaml dependencies: badges: ^1.1.0 import ‘package:badges/badges.dart’; Basic Usage: Badge( badgeContent: Text(‘3′), child: Icon(Icons.settings), ) Animations: BadgeAnimationType.slide BadgeAnimationType.scale BadgeAnimationType.fade Chips: Sometimes you may want to use chip but it’s too big, even if set padding to zero. This is where Badge comes handy. Chip( backgroundColor: Colors.deepPurple, padding: EdgeInsets.all(0), label: Text(‘BADGE’, ..

Read more