setOpacity method
Sets the opacity for drawing elements.
The opacity must be between 0 and 1.
Implementation
void setOpacity(double value) {
paintCtrl.setOpacity(value);
_uiAppbarIconsStream.add(null);
paintEditorCallbacks?.handleOpacity(value);
}