OudsSmallListItemTrailingIcon constructor
- OudsIconStatus icon, {
- bool tinted = true,
Creates a compact trailing icon configuration.
Throws an AssertionError if icon is Accent.
Implementation
const OudsSmallListItemTrailingIcon(this.icon, {this.tinted = true})
: assert(
icon is! Accent,
'Accent is not supported in list item icon slots. '
'Use Neutral with a custom icon instead.',
);