opacity property Null safety

double opacity

The alpha value as a double normalized to a 0.0 to 1.0 range.

Implementation

double get opacity => alpha / 255;