color method

Text color(
  1. Color color
)

The color to use when painting the text.

Sets text color with either Colors or FxColors

Implementation

Text color(Color color) => _copyWith(style: TextStyle(color: color));