OudsCardItem constructor

const OudsCardItem({
  1. Key? key,
  2. required String label,
  3. OudsListItemContentAlignment contentAlignment = OudsCardItemDefaults.contentAlignment,
  4. OudsListItemDecoration decoration = OudsCardItemDefaults.decoration,
  5. String? overline,
  6. String? extraLabel,
  7. String? description,
  8. OudsListItemLeading? leading,
  9. OudsListItemTrailing? trailing,
  10. String? helperText,
  11. bool boldLabel = false,
  12. bool enable = true,
  13. VoidCallback? onTap,
  14. OudsListItemIndicator indicator = OudsCardItemDefaults.indicator,
})

Creates an OUDS card item.

Implementation

const OudsCardItem({
  super.key,
  required this.label,
  this.contentAlignment = OudsCardItemDefaults.contentAlignment,
  this.decoration = OudsCardItemDefaults.decoration,
  this.overline,
  this.extraLabel,
  this.description,
  this.leading,
  this.trailing,
  this.helperText,
  this.boldLabel = false,
  this.enable = true,
  this.onTap,
  this.indicator = OudsCardItemDefaults.indicator,
});