opacity property

  1. @Deprecated("'opacity' is deprecated and shouldn't be used. Use a.")
  2. @override
double get 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

@Deprecated("'opacity' is deprecated and shouldn't be used. Use a.")
@override
double get opacity => _color.opacity;