onTertiary property

DynamicColor onTertiary
getter/setter pair

Implementation

static DynamicColor onTertiary = DynamicColor.fromPalette(
  name: 'on_tertiary',
  palette: (s) => s.tertiaryPalette,
  tone: (s) {
    if (_isMonochrome(s)) {
      return s.isDark ? 10 : 90;
    }
    return s.isDark ? 20 : 100;
  },
  background: (s) => MaterialDynamicColors.tertiary,
  contrastCurve: ContrastCurve(4.5, 7, 11, 21),
);