getChild method

BaseWidget? getChild()

Implementation

BaseWidget? getChild() => children.isEmpty ? null : children.first;