Color constructor

const Color(
  1. String _color
)

With 1.16 you can also use any rgb color now:

Color("#ff6a00")
Color.fromInt(16738816)
Color.fromRGB(255,106,0)

Implementation

const Color(this._color);