decoration property
final
This magnifier's decoration.
This sets the shape of the loupe, plus any borders and shadows that it casts. The default has no border and no shadow; combined with the default magnificationScale of 1.0, this results in the magnifier having no visible effect.
If the decoration has a MagnifierDecoration.shadows that uses offset shadows or uses a BlurStyle that would obscure the magnified image, consider setting clipBehavior to Clip.hardEdge (or similar) to ensure the magnified image is visible.
Implementation
final MagnifierDecoration decoration;