getBackgroundColor property
Returns the background color to apply behind the icon.
A custom background is only applied when the icon is not tinted
(Neutral.tinted or Accent.tinted is false). Otherwise, no
background is applied and the theme default is used.
Implementation
Color? get getBackgroundColor => switch (this) {
Neutral(tinted: false, backgroundColor: final bg) => bg,
Accent(tinted: false, backgroundColor: final bg) => bg,
_ => null,
};