opacity property Null safety

double opacity
final

The target opacity.

An opacity of 1.0 is fully opaque. An opacity of 0.0 is fully transparent (i.e., invisible).

The opacity must not be null.

Implementation

final double opacity;