addChild method
Adds a single child to this parent box.
The child is appended to the end of the children list and the layout is marked as needing an update.
Implementation
void addChild(Box child) {
_attachChildren([..._children, child]);
markNeedsLayout();
}