confirmButtonCallback property
Callback that is called when confirmation button is pressed.
If the callback returns a data of type T, the data will
be available via AdaptiveProgressDialogResult in data
property.
If the callback fails the AdaptiveProgressDialogResult with error status is returned from dialog.
Implementation
final Future<T?> Function()? confirmButtonCallback;