Colour.fromInt constructor

const Colour.fromInt(
  1. int value
)

Implementation

const Colour.fromInt(int value)
  : this(alpha: value >> 24, red: value >> 8, green: value >> 8, blue: value);