toColor method

Color toColor()

Implementation

widget.Color toColor() {
  return widget.Color.fromRGBO(
    color.rgb.r,
    color.rgb.g,
    color.rgb.b,
    1.0,
  );
}