Removes all semantics from this render object and its descendants.
Should only be called on objects whose parent
is not a RenderObject
.
Source
void clearSemantics() { _needsSemanticsUpdate = true; _needsSemanticsGeometryUpdate = true; _semantics = null; visitChildren((RenderObject child) { child.clearSemantics(); }); }