shadows property

List<BoxShadow> shadows
final

A list of shadows cast by the Magnifier.

If the shadows use a BlurStyle that paints inside the shape, or if they are offset, then a clipBehavior that enables clipping (such as the default Clip.hardEdge) is recommended, otherwise the shadow will occlude the magnifier (the shadow is drawn above the magnifier so as to not be included in the magnified image).

By default, the shadows are offset vertically by two logical pixels, so clipping is recommended.

A shadow that uses BlurStyle.outer and is not offset does not need clipping; in that case, consider setting clipBehavior to Clip.none.

Implementation

final List<BoxShadow> shadows;