secondary property
Implementation
@override
DynamicColor get secondary => DynamicColor(
name: "secondary",
palette: (scheme) => scheme.secondaryPalette,
tone: (scheme) => scheme.isDark ? 80.0 : 40.0,
isBackground: true,
background: highestSurface,
contrastCurve: (_) => const ContrastCurve(3.0, 4.5, 7.0, 7.0),
toneDeltaPair: (_) => ToneDeltaPair(
roleA: secondaryContainer,
roleB: secondary,
delta: 10.0,
polarity: .relativeLighter,
stayTogether: false,
constraint: .nearer,
),
);