TFormBuilder constructor

const TFormBuilder({
  1. Key? key,
  2. TFormBase? input,
  3. List<TFormField>? fields,
  4. double gutter = 16.0,
  5. VoidCallback? onValueChanged,
  6. String? label,
})

Implementation

const TFormBuilder({
  super.key,
  this.input,
  this.fields,
  this.gutter = 16.0,
  this.onValueChanged,
  this.label,
}) : assert((input == null) != (fields == null), 'Provide either "input" or "fields", not both.');