rootContentContainer property
Container?
get
rootContentContainer
inherited
The container at the root of this object's hierarchy, or null if the root isn't a container.
Implementation
Container? get rootContentContainer {
InkObject ancestor = this;
for (var p = ancestor.parent; p != null; p = ancestor.parent) {
ancestor = p;
}
return ancestor is Container ? ancestor : null;
}