opacity property Null safety

Animation<double> opacity
final

The animation that controls the opacity of the sliver child.

If the current value of the opacity animation is v, the child will be painted with an opacity of v. For example, if v is 0.5, the child will be blended 50% with its background. Similarly, if v is 0.0, the child will be completely transparent.

Implementation

final Animation<double> opacity;