fromRgba method Null safety

int fromRgba (
  1. int red,
  2. int green,
  3. int blue,
  4. int alpha
)

Create a color value from RGBA values in the range 0, 255.

The channel order of a uint32 encoded color is BGRA.

Implementation

static int fromRgba(int red, int green, int blue, int alpha) =>
    getColor(red, green, blue, alpha);