mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Remove Component.getRoot(), since we don't use it anymore.
R=abarth@chromium.org Review URL: https://codereview.chromium.org/1174683005
This commit is contained in:
parent
3a5fd0e53e
commit
c3eccc8556
@ -888,10 +888,6 @@ abstract class Component extends UINode {
|
||||
fn();
|
||||
}
|
||||
|
||||
// TODO(rafaelw): It seems wrong to expose DOM at all. This is presently
|
||||
// needed to get sizing info.
|
||||
RenderObject getRoot() => root;
|
||||
|
||||
void remove() {
|
||||
assert(_built != null);
|
||||
assert(root != null);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user