opacity property Null safety

Animation<double>? opacity
final

If non-null, the value from the Animation is multiplied with the opacity of each image pixel before painting onto the canvas.

This is more efficient than using FadeTransition to change the opacity of an image.

Implementation

final Animation<double>? opacity;