nonFunctionalIcon property
Returns the custom icon asset path for non-functional statuses.
Only Neutral and Accent statuses allow a user-provided icon. For
functional statuses (Positive, Info, Warning, Negative), this
returns null since their icon is fixed by the design system.
Implementation
String? get nonFunctionalIcon => switch (this) {
Neutral(icon: final assets) => assets,
Accent(icon: final assets) => assets,
_ => null,
};