NamedColor constructor

NamedColor(
  1. Color color,
  2. String name
)

Creates a new NamedColor.

Implementation

NamedColor(this.color, this.name);