blendTextTheme property
Use selection surfaceMode
and blendLevel
in FlexColorScheme.light
and FlexColorScheme.dark to also blend primary color into text themes
for both ThemeData.textTheme and ThemeData.primaryTextTheme.
This feature is similar to the slightly colored texts seen in Material 3 (You). At heavy blend levels it may reduce contrast too much and can be turned off if so desired. This feature is a bit experimental in nature and will be improved over time. It will be made to more closely match the Material 3 implementation, or even use it instead when it becomes available.
Expect minor changes to the visual result when using this option in future versions when actual Material 3 text themes become available.
Defaults to true.
Implementation
final bool blendTextTheme;