RgbColor.from constructor
RgbColor.from(
- ColorModel color
Constructs a RgbColor from color
.
Implementation
factory RgbColor.from(cm.ColorModel color) => color.toRgbColor().cast();
Constructs a RgbColor from color
.
factory RgbColor.from(cm.ColorModel color) => color.toRgbColor().cast();