AdaptiveProgressDialog<T> class

Constructors

AdaptiveProgressDialog({required String title, required String content, String? confirmationButtonLabel, String? cancelButtonLabel, AdaptiveProgressDialogStyle? adaptiveProgressDialogStyle, Future<T?> confirmButtonCallback()?, bool isDismissible = true})
This is a class that provides an easy way to show a progress dialog with an adaptive

Properties

adaptiveProgressDialogStyle AdaptiveProgressDialogStyle?
The dialog can be styled using the AdaptiveProgressDialogStyle
final
cancelButtonLabel String?
Cancel button's label - 'Cancel' by default
final
confirmationButtonLabel String?
Confirmation button's label - 'Ok' by default
final
confirmButtonCallback Future<T?> Function()?
Callback that is called when confirmation button is pressed.
final
content String
Dialog's content
final
hashCode int
The hash code for this object.
no setterinherited
isDismissible bool
If the dialog is dismissible by the clicking outside the dialog --- true by default
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
title String
Dialog's title
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
show(BuildContext context) Future<AdaptiveProgressDialogResult<T?>>
This method is used to display the progress dialog.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited