Colour.fromInt constructor

const Colour.fromInt(
  1. int value
)

Implementation

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