addChild

open fun addChild(child: ScreenObject?)

Adds a child and invalidates the layout. A null child is ignored.

Throws

If the child already has a parent or is this container.