AutoForm constructor

AutoForm({
  1. List<Widget> children = const [],
  2. required void onSubmit(
    1. Map<String, String>
    ),
  3. String submitButtonLabel = "Submit",
  4. Key? key,
  5. EdgeInsets padding = const EdgeInsets.symmetric(horizontal: 12, vertical: 8),
})

Implementation

AutoForm({
  this.children = const [],
  required this.onSubmit,
  this.submitButtonLabel = "Submit",
  super.key,
  this.padding = const EdgeInsets.symmetric(horizontal: 12, vertical: 8),
});