StatusBadgeProps constructor

const StatusBadgeProps({
  1. required String label,
  2. ComponentSize size = ComponentSize.md,
  3. BadgeVariant variant = BadgeVariant.status,
  4. StatusType status = StatusType.info,
  5. bool showGlow = false,
  6. bool showPulse = false,
  7. bool showDot = true,
  8. String? accentColor,
  9. Widget? icon,
  10. bool showDefaultIcon = false,
  11. BadgePosition? position,
  12. String? gradient,
  13. String? background,
  14. String? borderColor,
  15. 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,
});