onPrimaryFixed property

  1. @override
DynamicColor get onPrimaryFixed
override

Implementation

@override
DynamicColor get onPrimaryFixed {
  final color2025 = DynamicColor(
    name: "on_primary_fixed",
    palette: (scheme) => scheme.primaryPalette,
    background: (_) => primaryFixedDim,
    contrastCurve: (_) => _getContrastCurve(7),
  );
  return super.onPrimaryFixed.extendSpecVersion(.spec2025, color2025);
}