color method

T color(
  1. String key
)

Set text color using named token

Implementation

T color(String key) {
  return copyWith(style.copyWith(color: key));
}