setOpacity method
Sets the current level of opacity.
Implementation
void setOpacity(double value) {
opacity = value;
notifyListeners();
}
Sets the current level of opacity.
void setOpacity(double value) {
opacity = value;
notifyListeners();
}