KeyedSubtree({Key key, @required Widget child })

Creates a widget that builds its child.

Source

KeyedSubtree({
  Key key,
  @required this.child
}) : super(key: key) {
  assert(child != null);
}