BasicBadge constructor

const BasicBadge({
  1. Key? key,
  2. required Widget child,
  3. int count = 0,
  4. Color color = BasicAppColors.red,
  5. double? top,
  6. double? right,
})

Implementation

const BasicBadge({
  Key? key,
  required this.child,
  this.count = 0,
  this.color = BasicAppColors.red,
  this.top,
  this.right,
}) : super(key: key);