rotation method
Widget
rotation(
- double angle, {
- Offset? origin,
- AlignmentGeometry? alignment,
- bool transformHitTests = true,
- 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,
);
}