Transform.rotate constructor
Transform.rotate({
- required double angle,
- PdfPoint? origin,
- AlignmentGeometry? alignment = Alignment.center,
- Widget? child,
Creates a widget that transforms its child using a rotation around the center.
Implementation
Transform.rotate({
required double angle,
this.origin,
this.alignment = Alignment.center,
Widget? child,
}) : transform = Matrix4.rotationZ(angle),
adjustLayout = false,
unconstrained = false,
super(child: child);