textTheme property
Text with a color that contrasts with background, surface, card and canvas colors.
If a default TextTheme
from package GoogleFonts is passed.
FlexColorScheme will detect this and make the color in the passed
in GoogleFonts
null for all its TextStyle
s so that the correct
color for M2/M3 mode and contrast for light/dark mode is used.
Implementation
final TextTheme? textTheme;