opacity property

double opacity
final

The fraction to scale the sliver child's alpha value.

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

Values 1.0 and 0.0 are painted with a fast path. Other values require painting the sliver child into an intermediate buffer, which is expensive.

Implementation

final double opacity;