StatusBadgeProps constructor
const
StatusBadgeProps({
- required String label,
- ComponentSize size = ComponentSize.md,
- BadgeVariant variant = BadgeVariant.status,
- StatusType status = StatusType.info,
- bool showGlow = false,
- bool showPulse = false,
- bool showDot = true,
- String? accentColor,
- Widget? icon,
- bool showDefaultIcon = false,
- BadgePosition? position,
- String? gradient,
- String? background,
- String? borderColor,
- String? labelColor,
Implementation
const StatusBadgeProps({
required this.label,
this.size = ComponentSize.md,
this.variant = BadgeVariant.status,
this.status = StatusType.info,
this.showGlow = false,
this.showPulse = false,
this.showDot = true,
this.accentColor,
this.icon,
this.showDefaultIcon = false,
this.position,
this.gradient,
this.background,
this.borderColor,
this.labelColor,
});