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