primaryFixed property

DynamicColor primaryFixed
getter/setter pair

Implementation

static DynamicColor primaryFixed = DynamicColor.fromPalette(
  name: 'primary_fixed',
  palette: (s) => s.primaryPalette,
  tone: (s) => _isMonochrome(s) ? 40.0 : 90.0,
  isBackground: true,
  background: (s) => MaterialDynamicColors.highestSurface(s),
  contrastCurve: ContrastCurve(1, 1, 3, 4.5),
  toneDeltaPair: (s) => ToneDeltaPair(MaterialDynamicColors.primaryFixed,
      MaterialDynamicColors.primaryFixedDim, 10, TonePolarity.lighter, true),
);