RawMagnifier constructor
Constructs a RawMagnifier.
By default, this magnifier uses the default MagnifierDecoration, the focal point is directly under the magnifier, and there is no magnification: This means that a default magnifier will be entirely invisible to the naked eye, since it is painting exactly what is under it, exactly where it was painted originally.
Implementation
const RawMagnifier({
super.key,
this.child,
this.decoration = const MagnifierDecoration(),
this.focalPointOffset = Offset.zero,
this.magnificationScale = 1,
required this.size,
}) : assert(magnificationScale != 0,
'Magnification scale of 0 results in undefined behavior.');