rootView property
ContentView
get
rootView
Get the root view of the tree.
Implementation
ContentView get rootView {
var v = this;
while (true) {
final p = v.parent;
if (p == null) return v;
v = p;
}
}