NiceBadge constructor

const NiceBadge({
  1. Key? key,
  2. required Widget child,
  3. int? count,
  4. String? label,
  5. Color? color,
  6. bool show = true,
  7. NiceBadgePosition position = NiceBadgePosition.topRight,
  8. bool dot = false,
})

Implementation

const NiceBadge({
  super.key,
  required this.child,
  this.count,
  this.label,
  this.color,
  this.show = true,
  this.position = NiceBadgePosition.topRight,
  this.dot = false,
});