TextStatusBadge constructor

const TextStatusBadge({
  1. Key? key,
  2. required String status,
  3. Color backgroundColor = const Color(0xFFFDDC69),
  4. Color? color = const Color(0xFF000000),
  5. String? textColorKey,
  6. String? backgroundColorKey,
  7. Color? borderColor,
  8. String? borderColorKey,
})

Implementation

const TextStatusBadge({
  super.key,
  required this.status,
  // @Deprecated(
  //     'Use backgroundColorKey or theme tokens; this prop will be removed in a future release.')
  this.backgroundColor = const Color(0xFFFDDC69), // Default background color
  this.color = const Color(0xFF000000), // Default text color
  this.textColorKey,
  this.backgroundColorKey,
  this.borderColor,
  this.borderColorKey,
});