getAttributeDisplayBackgroundColor function

Color getAttributeDisplayBackgroundColor(
  1. Attribute attribute,
  2. SmoothColorsThemeExtension colors
)

Implementation

Color getAttributeDisplayBackgroundColor(
  Attribute attribute,
  SmoothColorsThemeExtension colors,
) => _attributeMatchComparison<Color>(
  attribute,
  colors.greyFair,
  colors.error,
  colors.secondaryNormal,
  colors.secondaryNormal,
  colors.scoreLightGreen,
  colors.scoreLightGreen,
);