onTertiary property
Implementation
@override
DynamicColor get onTertiary {
final color2025 = DynamicColor(
name: "on_tertiary",
palette: (scheme) => scheme.tertiaryPalette,
background: (scheme) =>
scheme.platform == .phone ? tertiary : tertiaryDim,
contrastCurve: (scheme) => scheme.platform == .phone
? _getContrastCurve(6)
: _getContrastCurve(7),
);
return super.onTertiary.extendSpecVersion(.spec2025, color2025);
}