OudsListItem constructor
- Key? key,
- required String label,
- OudsListItemSize size = OudsListItemSize.defaultSize,
- OudsListItemContentAlignment contentAlignment = OudsListItemDefaults.contentAlignment,
- String? overline,
- String? extraLabel,
- String? description,
- OudsListItemLeading? leading,
- OudsListItemTrailing? 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 an OUDS list item.
Implementation
const OudsListItem({
super.key,
required this.label,
this.size = OudsListItemSize.defaultSize,
this.contentAlignment = OudsListItemDefaults.contentAlignment,
this.overline,
this.extraLabel,
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,
});