LoFormState<TKey> constructor
LoFormState<TKey> ({
- ValMap<
TKey> ? initialValues, - List<
LoFormBaseValidator< validators = const [],TKey> > - SubmitFunc<
TKey> ? onSubmit, - ValueChanged<
LoFormState< ? onChanged,TKey> > - StatusCheckFunc? submittableWhen,
Implementation
LoFormState({
this.initialValues,
this.validators = const [],
this.onSubmit,
this.onChanged,
this.submittableWhen,
}) : fields = {},
status = LoStatus.pure;