opacity property

double opacity

The alpha channel of this color as a double.

A value of 0.0 means this color is fully transparent. A value of 1.0 means this color is fully opaque.

Implementation

double get opacity => alpha / 0xFF;