Color.rgba constructor

const Color.rgba(
  1. int red,
  2. int green,
  3. int blue,
  4. num alpha,
)

RGB color with an alpha channel.

Each color channel should be between 0 and 255, inclusive. The alpha channel should be between 0 and 1, inclusive.

Implementation

const Color.rgba(this.red, this.green, this.blue, this.alpha);