color property

Color color

Gets the current color of the icon.

Implementation

ui.Color get color {
  return _color;
}
void color=(Color color)

Sets the current color of the icon.

Implementation

set color(ui.Color color) {
  if (color == _color) {
    return;
  }
  _color = color;
  _invalidStyle = true;
  requiresRedraw();
}