onPrimaryFixed property

DynamicColor onPrimaryFixed
getter/setter pair

Get DynamicColor for onPrimaryFixed.

Implementation

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