moveChild method
Implementation
void moveChild(RenderNode? node, int index) {
if (node != null) {
_notifyManageChildren = true;
if (_children.contains(node)) {
_children.remove(node);
_children.insert(index, node);
}
}
}
void moveChild(RenderNode? node, int index) {
if (node != null) {
_notifyManageChildren = true;
if (_children.contains(node)) {
_children.remove(node);
_children.insert(index, node);
}
}
}