GlassMagnifier constructor

const GlassMagnifier({
  1. Key? key,
  2. double size = 120,
  3. double magnification = 1.5,
  4. double borderRadius = double.infinity,
  5. Offset? position,
  6. ValueChanged<Offset>? onMoved,
  7. Widget? child,
  8. double aspectRatio = 1,
})

Creates a magnifier.

Implementation

const GlassMagnifier({
  super.key,
  this.size = 120,
  this.magnification = 1.5,
  this.borderRadius = double.infinity,
  this.position,
  this.onMoved,
  this.child,
  this.aspectRatio = 1,
});