surfaceContainer property
Get DynamicColor for surfaceContainer.
Implementation
static DynamicColor surfaceContainer = DynamicColor.fromPalette(
name: 'surface_container',
palette: (DynamicScheme s) => s.neutralPalette,
tone: (DynamicScheme s) => s.isDark
? ContrastCurve(12, 12, 16, 20).get(s.contrastLevel)
: ContrastCurve(94, 94, 92, 90).get(s.contrastLevel),
isBackground: true,
);