isTinted property
Returns whether the icon is tinted.
Only Neutral and Accent statuses allow a user-provided icon. For
functional statuses (Positive, Info, Warning, Negative), this
returns true since their icon is always tinted by the design system.
Implementation
bool get isTinted => switch (this) {
Neutral(tinted: final tinted) => tinted,
Accent(tinted: final tinted) => tinted,
_ => true,
};