VxBadge constructor

const VxBadge({
  1. Key? key,
  2. required Widget? child,
  3. VxBadgeType type = VxBadgeType.round,
  4. Color? color,
  5. TextStyle? textStyle,
  6. int? count,
  7. bool limit = false,
  8. double? size,
  9. Widget? optionalWidget,
  10. VxBadgePosition position = VxBadgePosition.rightTop,
})

Implementation

const VxBadge({
  super.key,
  required this.child,
  this.type = VxBadgeType.round,
  this.color,
  this.textStyle,
  this.count,
  this.limit = false,
  this.size,
  this.optionalWidget,
  this.position = VxBadgePosition.rightTop,
});