AppForm constructor

const AppForm({
  1. Key? key,
  2. GlobalKey<FormState>? formKey,
  3. required List<Widget> children,
  4. EdgeInsetsGeometry? padding,
  5. double? spacing,
  6. ScrollPhysics? physics,
  7. VoidCallback? onSubmit,
  8. String? submitLabel,
  9. bool showSubmitButton = true,
  10. ButtonType submitButtonType = ButtonType.primary,
  11. bool autovalidateMode = false,
})

Implementation

const AppForm({
  Key? key,
  this.formKey,
  required this.children,
  this.padding,
  this.spacing,
  this.physics,
  this.onSubmit,
  this.submitLabel,
  this.showSubmitButton = true,
  this.submitButtonType = ButtonType.primary,
  this.autovalidateMode = false,
}) : super(key: key);