child method

SDUIWidget? child()

Return the first child

Implementation

SDUIWidget? child() => children.isEmpty ? null : children.first;