MagnifierDecoration constructor

const MagnifierDecoration(
  1. {double opacity = 1,
  2. List<BoxShadow>? shadows,
  3. ShapeBorder shape = const RoundedRectangleBorder()}
)

Constructs a MagnifierDecoration.

By default, MagnifierDecoration is a rectangular magnifier with no shadows, and fully opaque.

Implementation

const MagnifierDecoration({
  this.opacity = 1,
  super.shadows,
  super.shape = const RoundedRectangleBorder(),
});