Transform.scale constructor
Transform.scale({
- required double scale,
- PdfPoint? origin,
- AlignmentGeometry? alignment = Alignment.center,
- Widget? child,
Creates a widget that scales its child uniformly.
Implementation
Transform.scale({
required double scale,
this.origin,
this.alignment = Alignment.center,
Widget? child,
}) : transform = Matrix4.diagonal3Values(scale, scale, 1),
adjustLayout = false,
unconstrained = false,
super(child: child);