alpha property

int alpha

The alpha channel of this color in an 8 bit value.

A value of 0 means this color is fully transparent. A value of 255 means this color is fully opaque.

Implementation

int get alpha => (0xff000000 & value) >> 24;