getChildWidget static method

Widget? getChildWidget(
  1. BuildContext context
)

Get child of Widget/State/Element methods

Implementation

static Widget? getChildWidget(BuildContext context) {
  return getChildElement(context)?.widget;
}