blur property

double blur

The amount of blur to apply to the shadow. The value of 0 produces crisp shadows with sharp edges, whereas positive blur produces softer-looking shadows.

Strictly speaking, the parts of the object that are closer to the ground ought to experience less blur than those that are higher up. However, this is not supported by this decorator. Still, you can try setting the amount of blur proportional to the height of the object, or dependent on its ascent above the ground.

Implementation

double get blur => _blur;
void blur=(double value)

Implementation

set blur(double value) {
  _blur = value;
  _paint = null;
}