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 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).

A shadow that uses BlurStyle.outer and is not offset does not need clipping.

By default, the shadows are not offset and use BlurStyle.outer, and correspondingly the default clipBehavior is Clip.none.

Implementation

final List<BoxShadow> shadows;