onSubmit property
dynamic Function()?
get
onSubmit
A getter that provides a custom submit callback function for the last text form field.
The onSubmit getter returns a function or null. This function can be used
to handle the submission action triggered when the user submits the last
text form field within the Formify widget.
Implementation
Function()? get onSubmit => null;