TextStatusBadge constructor

const TextStatusBadge({
  1. Key? key,
  2. required String status,
  3. Color backgroundColor = const Color(0xFFFDDC69),
  4. Color? color = const Color(0xFF000000),
})

Implementation

const TextStatusBadge({
  super.key,
  required this.status,
  this.backgroundColor = const Color(0xFFFDDC69), // Default background color
  this.color = const Color(0xFF000000), // Default text color
});