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