SubZeroBadge constructor
const
SubZeroBadge({
- Key? key,
- SubZeroBadgeVariant variant = SubZeroBadgeVariant.dot,
- int count = 0,
- int maxCount = 99,
- SubZeroBadgeStyle style = SubZeroBadgeStyle.filled,
- SubZeroBadgeSize size = SubZeroBadgeSize.medium,
- Widget? child,
- SubZeroBadgeAlignment alignment = const SubZeroBadgeAlignment(),
- bool showBadge = true,
- Color? backgroundColor,
- Color? foregroundColor,
- String? semanticLabel,
Implementation
const SubZeroBadge({
super.key,
this.variant = SubZeroBadgeVariant.dot,
this.count = 0,
this.maxCount = 99,
this.style = SubZeroBadgeStyle.filled,
this.size = SubZeroBadgeSize.medium,
this.child,
this.alignment = const SubZeroBadgeAlignment(),
this.showBadge = true,
this.backgroundColor,
this.foregroundColor,
this.semanticLabel,
});