VxBadge constructor
const
VxBadge({
- Key? key,
- required Widget? child,
- VxBadgeType type = VxBadgeType.round,
- Color? color,
- TextStyle? textStyle,
- int? count,
- bool limit = false,
- double? size,
- Widget? optionalWidget,
- 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,
});