onSurface property
Get DynamicColor for onSurface.
Implementation
static DynamicColor onSurface = DynamicColor.fromPalette(
name: 'on_surface',
palette: (DynamicScheme s) => s.neutralPalette,
tone: (DynamicScheme s) => s.isDark ? 90 : 10,
background: MaterialDynamicColors.highestSurface,
contrastCurve: ContrastCurve(4.5, 7, 11, 21),
);