DynamicForm constructor
const
DynamicForm({
- Key? key,
- required List<
DynamicField> config, - DynamicFormController? controller,
- DynamicFormTheme? theme,
- Map<
String, FieldBuilder> ? customBuilders, - void onSubmit()?,
- Widget wrapper(
- Widget form
- Widget submitButtonBuilder(
- VoidCallback onSubmit
- Map<
String, dynamic> ? initialValues, - bool wrapInForm = true,
Creates a new DynamicForm instance.
Implementation
const DynamicForm({
super.key,
required this.config,
this.controller,
this.theme,
this.customBuilders,
this.onSubmit,
this.wrapper,
this.submitButtonBuilder,
this.initialValues,
this.wrapInForm = true,
});