Magnifier constructor
- Key? key,
- Offset additionalFocalPointOffset = Offset.zero,
- BorderRadius borderRadius = const BorderRadius.all(Radius.circular(_borderRadius)),
- Color filmColor = const Color.fromARGB(8, 158, 158, 158),
- List<
BoxShadow> shadows = const <BoxShadow>[BoxShadow(blurRadius: 1.5, offset: Offset(0.0, 2.0), spreadRadius: 0.75, color: Color.fromARGB(25, 0, 0, 0))], - Clip clipBehavior = Clip.hardEdge,
- Size size = Magnifier.kDefaultMagnifierSize,
Creates a RawMagnifier in the Material style.
Implementation
const Magnifier({
super.key,
this.additionalFocalPointOffset = Offset.zero,
this.borderRadius = const BorderRadius.all(Radius.circular(_borderRadius)),
this.filmColor = const Color.fromARGB(8, 158, 158, 158),
this.shadows = const <BoxShadow>[
BoxShadow(
blurRadius: 1.5,
offset: Offset(0.0, 2.0),
spreadRadius: 0.75,
color: Color.fromARGB(25, 0, 0, 0),
)
],
this.clipBehavior = Clip.hardEdge,
this.size = Magnifier.kDefaultMagnifierSize,
});