MagnifyingGlass constructor

const MagnifyingGlass({
  1. Key? key,
  2. required MagnifyingGlassController controller,
  3. required GlassParams glassParams,
  4. required Widget child,
  5. GlassPosition? glassPosition = GlassPosition.touchPosition,
  6. double borderThickness = 0.0,
  7. Color borderColor = Colors.transparent,
  8. double elevation = 8,
  9. Offset shadowOffset = const Offset(8, 8),
})

Implementation

const MagnifyingGlass({
  Key? key,
  required this.controller,
  required this.glassParams,
  required this.child,
  this.glassPosition = GlassPosition.touchPosition,
  this.borderThickness = 0.0,
  this.borderColor = Colors.transparent,
  this.elevation = 8,
  this.shadowOffset = const Offset(8, 8),
}) : super(key: key);