QUFormField constructor

QUFormField({
  1. Key? key,
  2. FormFieldSetter? onSaved,
  3. dynamic initialValue,
  4. required String name,
  5. required FormFieldValidator validator,
  6. required Widget getChild(
    1. dynamic value,
    2. dynamic (
      1. dynamic
      )
    ),
  7. required EComponentType componentType,
  8. QUFormComponentOptionsModel? componentOptions,
  9. ValueChanged? onChanged,
  10. TextEditingController? controller,
})

Implementation

QUFormField(
    {Key? key,
    this.onSaved,
    this.initialValue,
    required this.name,
    required this.validator,
    required this.getChild,
    required this.componentType,
    this.componentOptions,
    this.onChanged,
    this.controller})
    : super(
          key: key,
          initialValue: initialValue,
          onSaved: onSaved,
          validator: validator,
          autovalidateMode: AutovalidateMode.disabled,
          builder: (FormFieldState state) {
            return state.build(state.context);
          });