color method

Text color(
  1. Color color
)

Implementation

Text color(Color color) {
  var newStyle = TextStyle(color: color);
  return copyWith(style: style?.merge(newStyle) ?? newStyle);
}