onSaved property

void Function(String?)? onSaved
final

This optional block of code can be used to run code when the user saves the form.

Implementation

final void Function(String?)? onSaved;