opacity property

  1. @override
double opacity
override

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

@override
double get opacity => alpha / 0xFF;