Form({Key key, @required Widget child, bool autovalidate: false })

Creates a container for form fields.

The child argument must not be null.

Source

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