GFIconBadge constructor

const GFIconBadge({
  1. Key? key,
  2. EdgeInsetsGeometry padding = const EdgeInsets.symmetric(horizontal: 8),
  3. required Widget child,
  4. required Widget counterChild,
  5. GFBadgePosition? position,
})

Create badges of all types, check out GFBadge for button badges and GFIconBadge for icon badges.

Implementation

const GFIconBadge(
    {Key? key,
    this.padding = const EdgeInsets.symmetric(horizontal: 8),
    required this.child,
    required this.counterChild,
    this.position})
    : super(key: key);