FormBuilder constructor

const FormBuilder(BuildContext context, { @required List<FormBuilderInput> controls, @required Function onSubmit, dynamic onChanged(Map<String, dynamic>), bool autovalidate: false, bool showResetButton: false, WillPopCallback onWillPop, Widget submitButtonContent, Widget resetButtonContent })

Implementation

const FormBuilder(
  this.context, {
  @required this.controls,
  @required this.onSubmit,
  this.onChanged,
  this.autovalidate = false,
  this.showResetButton = false,
  this.onWillPop,
  this.submitButtonContent,
  this.resetButtonContent,
}) : assert(resetButtonContent == null || showResetButton);