EasyFormFieldSavedCallback<T> typedef

EasyFormFieldSavedCallback<T> = void Function(T values, Map<String, dynamic> fieldValues, EasyFormState form)

Signature for saved callback.

Called after the onSave callback completes, the result from onSave is passed to onSaved as the first parameter and the map with all the values of the form fields is passed as the second parameter.

Implementation

typedef EasyFormFieldSavedCallback<T> = void Function(
    T values, Map<String, dynamic> fieldValues, EasyFormState form);