This repository was archived by the owner on Feb 22, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +0
-23
lines changed
packages/flutter/lib/src/rendering Expand file tree Collapse file tree 2 files changed +0
-23
lines changed Original file line number Diff line number Diff line change @@ -2119,24 +2119,6 @@ abstract class RenderObject extends AbstractNode with DiagnosticableTreeMixin im
21192119 }
21202120 }
21212121
2122- /// Rotate this render object (not yet implemented).
2123- void rotate ({
2124- int ? oldAngle, // 0..3
2125- int ? newAngle, // 0..3
2126- Duration ? time,
2127- }) { }
2128-
2129- // when the parent has rotated (e.g. when the screen has been turned
2130- // 90 degrees), immediately prior to layout() being called for the
2131- // new dimensions, rotate() is called with the old and new angles.
2132- // The next time paint() is called, the coordinate space will have
2133- // been rotated N quarter-turns clockwise, where:
2134- // N = newAngle-oldAngle
2135- // ...but the rendering is expected to remain the same, pixel for
2136- // pixel, on the output device. Then, the layout() method or
2137- // equivalent will be called.
2138-
2139-
21402122 // PAINTING
21412123
21422124 /// Whether [paint] for this render object is currently running.
Original file line number Diff line number Diff line change @@ -169,11 +169,6 @@ class RenderView extends RenderObject with RenderObjectWithChildMixin<RenderBox>
169169 child! .layout (BoxConstraints .tight (_size));
170170 }
171171
172- @override
173- void rotate ({ int ? oldAngle, int ? newAngle, Duration ? time }) {
174- assert (false ); // nobody tells the screen to rotate, the whole rotate() dance is started from our performResize()
175- }
176-
177172 /// Determines the set of render objects located at the given position.
178173 ///
179174 /// Returns true if the given point is contained in this render object or one
You can’t perform that action at this time.
0 commit comments