AFMultipleSubFormField<T extends TemplateForm> constructor

AFMultipleSubFormField<T extends TemplateForm>({
  1. ValueChanged<List<Map<String, dynamic>>?>? onChanged,
  2. required String id,
  3. required String name,
  4. required T formBuilder(),
  5. required List<T> forms,
  6. List<Validator<List<Map<String, dynamic>>>> validators = const [],
})

Implementation

AFMultipleSubFormField({
  super.onChanged,
  required String id,
  required String name,
  required this.formBuilder,
  required this.forms,
  List<Validator<List<Map<String, dynamic>>>> validators = const [],
}) : super(
        id: id,
        name: name,
        validators: validators,
      );