onPrimaryFixed property

  1. @override
DynamicColor get onPrimaryFixed
override

Implementation

@override
DynamicColor get onPrimaryFixed => DynamicColor(
  name: "on_primary_fixed",
  palette: (scheme) => scheme.primaryPalette,
  tone: (scheme) => _isMonochrome(scheme) ? 100.0 : 10.0,
  background: (_) => primaryFixedDim,
  secondBackground: (_) => primaryFixed,
  contrastCurve: (_) => const ContrastCurve(4.5, 7.0, 11.0, 21.0),
);