alpha property
Returns the alpha (transparency) value of this object.
Implementation
double get alpha {
return $alpha;
}
The transparency of the icon, from 0 (fully transparent) to 1 (fully opaque).
When changing the alpha value, it will automatically trigger a redraw of the object.
Implementation
@override
set alpha(double value) {
if ($alpha == value) return;
super.alpha = value;
_invalidStyle = true;
requiresRedraw();
}