opacity property

  1. @Deprecated('Use .a.')
double get 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

@Deprecated('Use .a.')
double get opacity => alpha / 0xFF;