opacity property

double opacity

Shadow's intensity. The value of 1 will create a hard pitch-black shadow, which can only happen when there are no ambient sources of light (e.g. in a cave). Values close to 0 will make the shadow barely visible, such as on a cloudy day.

Implementation

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

Implementation

set opacity(double value) {
  _opacity = value;
  _paint = null;
}