onPrimaryFixed property

DynamicColor onPrimaryFixed
getter/setter pair

Implementation

static DynamicColor onPrimaryFixed = DynamicColor.fromPalette(
  name: 'on_primary_fixed',
  palette: (s) => s.primaryPalette,
  tone: (s) => _isMonochrome(s) ? 100.0 : 10.0,
  background: (s) => MaterialDynamicColors.primaryFixedDim,
  secondBackground: (s) => MaterialDynamicColors.primaryFixed,
  contrastCurve: ContrastCurve(4.5, 7, 11, 21),
);