opacity property

double opacity
final

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

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

Implementation

final double opacity;