alpha property
The amount to multiply into the alpha channel.
The opacity is expressed as an integer from 0 to 255, where 0 is fully transparent and 255 is fully opaque.
The scene must be explicitly recomposited after this property is changed (as described at Layer).
Implementation
int get alpha => _alpha;
Implementation
set alpha(int value) {
if (value != _alpha) {
_alpha = value;
markNeedsAddToScene();
}
}