OudsSmallListItem constructor
- Key? key,
- required String label,
- OudsListItemContentAlignment contentAlignment = OudsListItemDefaults.contentAlignment,
- String? description,
- OudsSmallListItemLeading? leading,
- OudsSmallListItemTrailing? trailing,
- bool divider = true,
- bool background = false,
- OudsListItemDecoration? decoration,
- String? helperText,
- bool boldLabel = false,
- bool enable = true,
- VoidCallback? onTap,
- OudsListItemIndicator indicator = OudsListItemDefaults.indicator,
- bool card = false,
- bool edgeToEdge = true,
Creates a compact OUDS list item.
Implementation
const OudsSmallListItem({
super.key,
required this.label,
this.contentAlignment = OudsListItemDefaults.contentAlignment,
this.description,
this.leading,
this.trailing,
this.divider = true,
this.background = false,
this.decoration,
this.helperText,
this.boldLabel = false,
this.enable = true,
this.onTap,
this.indicator = OudsListItemDefaults.indicator,
this.card = false,
this.edgeToEdge = true,
});