scheduleBuild method
Marks element e dirty (deduped via _dirtySet) and requests a frame.
Implementation
void scheduleBuild(Element e) {
if (!e.mounted) {
return;
}
if (_dirtySet.add(e)) {
_dirty.addLast(e);
}
_onFrame?.call();
}