child property

Widget get child

Implementation

Widget get child => switch (widget.child) {
  Widget _ => widget.child,
  _ => ElText(widget.child.toString()),
};