color method

void color(
  1. ColorToken value
)

Replaces the widget's dominant color with a token-aware color.

Implementation

void color(ColorToken value) {
  _color = value;
}