blendOnColors property
Use selected surfaceMode
and blendLevel
in FlexColorScheme.light
and FlexColorScheme.dark to also blend in each corresponding
ColorScheme color property's color into their onColors onSurface
,
onBackGround
, onError
, onPrimary
and onSecondary
.
Blending the on colors results in lower contrast than when not doing so, but it still works well on lower blend levels. The effect is subtle and can be turned off by setting blendOnColors to false.
Defaults to true.
Implementation
final bool blendOnColors;