BadgeWidget constructor

const BadgeWidget({
  1. Key? key,
  2. required Widget child,
  3. int? count,
  4. bool showBadge = true,
  5. BadgePosition position = BadgePosition.topRight,
  6. Color? color,
})

Implementation

const BadgeWidget({
  super.key,
  required this.child,
  this.count,
  this.showBadge = true,
  this.position = BadgePosition.topRight,
  this.color,
});