rotation method

  1. @widgetFactory
Widget rotation(
  1. double angle, {
  2. Offset? origin,
  3. AlignmentGeometry? alignment,
  4. bool transformHitTests = true,
  5. FilterQuality? filterQuality,
})

Rotates this widget by angle radians.

Implementation

@widgetFactory
Widget rotation(
  double angle, {
  Offset? origin,
  AlignmentGeometry? alignment,
  bool transformHitTests = true,
  FilterQuality? filterQuality,
}) {
  return FleetTransform.rotate(
    angle: angle,
    origin: origin,
    alignment: alignment,
    transformHitTests: transformHitTests,
    filterQuality: filterQuality,
    child: this,
  );
}