OudsSmallCardItem constructor

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

Creates a compact OUDS card item.

Implementation

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