opacity property

double get opacity

Implementation

double get opacity => _opacity;
set 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;
  if (hasValidated) {
    opacityChanged(from, value);
  }
}