StatusBadge.error constructor

const StatusBadge.error({
  1. required String label,
  2. Key? key,
})

Error status badge

Implementation

const StatusBadge.error({
  required this.label,
  super.key,
}) : status = StatusType.error;