BadgeContainer constructor

const BadgeContainer({
  1. Key? key,
  2. Color badgeColor = Colors.red,
  3. int count = 0,
  4. bool notifiAsDot = false,
  5. TextStyle countStyle = const TextStyle(color: Colors.white, fontSize: 8, fontWeight: FontWeight.bold),
})

Implementation

const BadgeContainer({
  Key? key,
  this.badgeColor = Colors.red,
  this.count = 0,
  this.notifiAsDot = false,
  this.countStyle = const TextStyle(
      color: Colors.white, fontSize: 8, fontWeight: FontWeight.bold),
}) : super(key: key);