Unverified Commit b9170a9d authored by Todd Volkert's avatar Todd Volkert Committed by GitHub

Add more breadcrumb docs to Transformation (#31420)

parent 9a4a3fc6
...@@ -991,6 +991,11 @@ class PhysicalShape extends SingleChildRenderObjectWidget { ...@@ -991,6 +991,11 @@ class PhysicalShape extends SingleChildRenderObjectWidget {
/// A widget that applies a transformation before painting its child. /// A widget that applies a transformation before painting its child.
/// ///
/// Unlike [RotatedBox], which applies a rotation prior to layout, this object
/// applies its transformation just prior to painting, which means the
/// transformation is not taken into account when calculating how much space
/// this widget's child (and thus this widget) consumes.
///
/// {@youtube 560 315 https://www.youtube.com/watch?v=9z_YNlRlWfA} /// {@youtube 560 315 https://www.youtube.com/watch?v=9z_YNlRlWfA}
/// ///
/// {@tool sample} /// {@tool sample}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment