opacity property Null safety
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;
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.
double get opacity => alpha / 0xFF;