onPressed property

void Function(FormAction) onPressed
final

Called when the button is pressed

Will pass the action back

Implementation

final void Function(FormAction) onPressed;