transformedRotate method

Widget transformedRotate({
  1. required double angle,
  2. Offset? origin,
  3. AlignmentGeometry alignment = Alignment.center,
  4. bool transformHitTests = true,
  5. FilterQuality filterQuality = FilterQuality.low,
  6. Key? key,
})

Rotate around the center. Angle is in clockwise radians.

Implementation

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