QUFormField constructor
QUFormField({
- Key? key,
- FormFieldSetter? onSaved,
- dynamic initialValue,
- required String name,
- required FormFieldValidator validator,
- required Widget getChild(
- dynamic value,
- dynamic (
- dynamic
- required EComponentType componentType,
- QUFormComponentOptionsModel? componentOptions,
- ValueChanged? onChanged,
- 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);
});