opacity property

double opacity

Implementation

double get opacity => _opacity;
void opacity=(double value)

Change the _opacity field value. opacityChanged will be invoked only if the field's value has changed.

Implementation

set opacity(double value) {
  if (_opacity == value) {
    return;
  }
  double from = _opacity;
  _opacity = value;
  opacityChanged(from, value);
}