dialog/progress_dialog library

Classes

ProgressDialog<T>
ProgressDialog widget that is used to create a progress dialog with an adaptive style depending on the platform. The class is generic and takes a type parameter T which is used to represent the data that can be returned from the confirmButtonCallback method. The ProgressDialog widget has several parameters: title A string representing the title of the dialog. content A string representing the content of the dialog. confirmationButtonLabel A string representing the label of the confirmation button. cancelButtonLabel A string representing the label of the cancel button. confirmButtonCallback A function that returns a Future<T?> and is called when the confirmation button is pressed. The returned value is used as the data property of the AdaptiveProgressDialogResult. adaptiveProgressDialogStyle An object of AdaptiveProgressDialogStyle which contains styles for the progress dialog on different platforms.