root property
BeamerDelegate
get
root
The top-most BeamerDelegate, a parent of all.
It will return root even when called on root.
Implementation
BeamerDelegate get root {
if (_parent == null) {
return this;
}
var root = _parent!;
while (root._parent != null) {
root = root._parent!;
}
return root;
}