Dara Adedeji 83c7108c99
docs: Clarify Transform.rotate origin interaction with alignment (#163934)
<!--
Thanks for filing a pull request!
Reviewers are typically assigned within a week of filing a request.
To learn more about code review, see our documentation on Tree Hygiene:
https://github.com/flutter/flutter/blob/main/docs/contributing/Tree-hygiene.md
-->

This commit improves the documentation for Transform.rotate's origin
property to clarify its interaction with the alignment property.

Before: The documentation did not clearly explain how the origin offset
interacts with the alignment property, potentially leading to confusion
about the actual rotation point.

After: The documentation now emphasizes that the origin offset is
applied after the alignment transformation, and provides examples to
avoid common misinterpretations.

This change ensures developers can correctly position the rotation
point.

---------

Co-authored-by: Greg Price <gnprice@gmail.com>
2025-07-30 18:35:59 +00:00
..
2025-07-22 17:51:20 +00:00

Flutter

Flutter is a new way to build high-performance, cross-platform mobile, web, and desktop apps. Flutter is optimized for today's — and tomorrow's — mobile and desktop devices. We are focused on low-latency input and high frame rates on all platforms.

See the getting started guide for information about using Flutter.