action property

T Function(BuildContext context)? action
final

Function that must be executed when the button is clicked, the function should return the value expected by the dialog.

Implementation

final T Function(BuildContext context)? action;