MagnifyingGlass constructor
const
MagnifyingGlass({
- Key? key,
- required MagnifyingGlassController controller,
- required GlassParams glassParams,
- required Widget child,
- GlassPosition? glassPosition = GlassPosition.touchPosition,
- double borderThickness = 0.0,
- Color borderColor = Colors.transparent,
- double elevation = 8,
- 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);