Color.fromArray constructor

Color.fromArray(
  1. List<int> list
)

Implementation

factory Color.fromArray(List<int> list) {
  var _color = Color.setRGB255(list[0], list[1], list[2]);

  return _color;
}