rotate method
Widget
rotate({
- required double angle,
- Offset? origin,
- AlignmentGeometry? alignment = Alignment.center,
- bool transformHitTests = true,
- Key? key,
Implementation
Widget rotate({
required double angle,
Offset? origin,
AlignmentGeometry? alignment = Alignment.center,
bool transformHitTests = true,
Key? key,
}) {
return Transform.rotate(
angle: angle,
origin: origin,
alignment: alignment,
transformHitTests: transformHitTests,
child: this,
key: key,
);
}