color property
final
The color to use when painting the text.
If foreground is specified, this value must be null. The color property
is shorthand for Paint()..color = color
.
In merge, apply, and lerp, conflicts between color and foreground specification are resolved in foreground's favor - i.e. if foreground is specified in one place, it will dominate color in another.
Implementation
final Color? color;