spread property

double spread
final

For scenarios where startCurtain or endCurtain necessitate curtains with girth ― either height or width, considering axis.

  • Such as a BoxDecoration with gradient instead of simply boxShadow.

Left null, each curtain in this 📜 Curtains is girthless, rendering only its List<BoxShadow>.

A non-zero spread should allow for BoxDecoration.backgroundBlendMode when Colors or Gradients are used, but is buggy at the moment.

Implementation

//  TODO: Fix [BlendMode] support.
final double spread;