hasRoot property

bool get hasRoot

Whether the surface has the component the renderer starts from.

Implementation

bool get hasRoot => definition.components.containsKey(genUiRootComponentId);