StatusBadge constructor

const StatusBadge({
  1. Key? key,
  2. required String label,
  3. StatusTone tone = StatusTone.neutral,
  4. bool dot = false,
  5. IconData? icon,
  6. BadgeSize size = BadgeSize.md,
})

Implementation

const StatusBadge({
  super.key,
  required this.label,
  this.tone = StatusTone.neutral,
  this.dot = false,
  this.icon,
  this.size = BadgeSize.md,
});