MagnifierDecoration constructor

const MagnifierDecoration({
  1. double opacity = 1.0,
  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.0,
  this.shadows,
  this.shape = const RoundedRectangleBorder(),
});