VxBadge constructor

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

Implementation

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