opacity property
final
The fraction to scale the child's alpha value.
An opacity of one is fully opaque. An opacity of zero is fully transparent (i.e., invisible).
Values one and zero are painted with a fast path. Other values require painting the child into an intermediate buffer, which is expensive.
Implementation
final double opacity;