inversePrimary property

DynamicColor inversePrimary
getter/setter pair

Implementation

static DynamicColor inversePrimary = DynamicColor.fromPalette(
  name: 'inverse_primary',
  palette: (s) => s.primaryPalette,
  tone: (s) => s.isDark ? 40 : 80,
  background: (s) => MaterialDynamicColors.inverseSurface,
  contrastCurve: ContrastCurve(3, 4.5, 7, 7),
);