ProxyWidget constructor Null safety

const ProxyWidget(
  1. {Key? key,
  2. required Widget child}
)

Creates a widget that has exactly one child widget.

Implementation

const ProxyWidget({ Key? key, required this.child }) : super(key: key);