Commit 12147ad 1 parent ca17674 commit 12147ad Copy full SHA for 12147ad
File tree 2 files changed +0
-23
lines changed
packages/flutter/lib/src/rendering
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
2119
2119
}
2120
2120
}
2121
2121
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
-
2140
2122
// PAINTING
2141
2123
2142
2124
/// 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>
169
169
child! .layout (BoxConstraints .tight (_size));
170
170
}
171
171
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
-
177
172
/// Determines the set of render objects located at the given position.
178
173
///
179
174
/// 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