tertiary property

DynamicColor tertiary
getter/setter pair

Implementation

static DynamicColor tertiary = DynamicColor.fromPalette(
  name: 'tertiary',
  palette: (s) => s.tertiaryPalette,
  tone: (s) {
    if (_isMonochrome(s)) {
      return s.isDark ? 90 : 25;
    }
    return s.isDark ? 80 : 40;
  },
  isBackground: true,
  background: (s) => MaterialDynamicColors.highestSurface(s),
  contrastCurve: ContrastCurve(3, 4.5, 7, 7),
  toneDeltaPair: (s) => ToneDeltaPair(MaterialDynamicColors.tertiaryContainer,
      MaterialDynamicColors.tertiary, 10, TonePolarity.nearer, false),
);