action property
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;
Function that must be executed when the button is clicked, the function should return the value expected by the dialog.
final T Function(BuildContext context)? action;