fromRgb method Null safety

int fromRgb (
  1. int red,
  2. int green,
  3. int blue
)

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

The channel order of a uint32 encoded color is BGRA.

Implementation

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