NotificationBadge constructor

const NotificationBadge({
  1. Key? key,
  2. required Widget? child,
  3. int count = 0,
  4. Color? badgeColor,
  5. TextStyle? countStyle,
  6. Alignment alignment = Alignment.topRight,
  7. bool notifyAsDot = false,
  8. Widget? extraDot,
  9. bool showDot = true,
})

Implementation

const NotificationBadge({
  Key? key,
  required this.child,
  this.count = 0,
  this.badgeColor,
  this.countStyle,
  this.alignment = Alignment.topRight,
  this.notifyAsDot = false,
  this.extraDot,
  this.showDot = true,
}) : super(key: key);