onSurfaceVariant property

DynamicColor onSurfaceVariant
getter/setter pair

Implementation

static DynamicColor onSurfaceVariant = DynamicColor.fromPalette(
  name: 'on_surface_variant',
  palette: (s) => s.neutralVariantPalette,
  tone: (s) => s.isDark ? 80 : 30,
  background: (s) => MaterialDynamicColors.highestSurface(s),
  contrastCurve: ContrastCurve(3, 4.5, 7, 11),
);