The opacity of the sprite in the range 0.0 to 1.0.
mySprite.opacity = 0.5;
double get opacity => _opacity;
set opacity(double opacity) { assert(opacity != null); assert(opacity >= 0.0 && opacity <= 1.0); _opacity = opacity; }