AdaptiveProgressDialog<T> constructor
AdaptiveProgressDialog<T> ({})
This is a class that provides an easy way to show a progress dialog with an adaptive
style depending on the platform. The widget is generic and takes a type parameter
T
which is used to represent the data that can be returned from the dialog.
The data is returned via AdaptiveProgressDialogResult class.
Implementation
AdaptiveProgressDialog({
required this.title,
required this.content,
this.confirmationButtonLabel,
this.cancelButtonLabel,
this.adaptiveProgressDialogStyle,
this.confirmButtonCallback,
this.isDismissible = true,
});