AFWidget<T extends TemplateForm> constructor

const AFWidget<T extends TemplateForm>({
  1. Key? key,
  2. required T formBuilder(),
  3. required dynamic onSubmitted(
    1. T form
    ),
  4. Widget submitButton(
    1. dynamic submit()
    )?,
  5. ValueChanged<String>? handleErrorOnSubmit,
  6. bool enableFinalAction = true,
  7. bool? enableSubmitFormWrapper,
})

Implementation

const AFWidget({
  Key? key,
  required this.formBuilder,
  required this.onSubmitted,
  this.submitButton,
  this.handleErrorOnSubmit,
  this.enableFinalAction = true,
  this.enableSubmitFormWrapper,
}) : super(key: key);