Transform.rotate constructor
Transform.rotate({})
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);