AdaptiveProgressDialogResult<T> class

Constructors

AdaptiveProgressDialogResult({DialogStatus status = DialogStatus.success, T? data, dynamic error})
The AdaptiveProgressDialogResult class represents the result of the dialog shown by the AdaptiveProgressDialog widget.
AdaptiveProgressDialogResult.canceled()
A factory method that creates a AdaptiveProgressDialogResult object with the status set to canceled.
factory
AdaptiveProgressDialogResult.closed()
A factory method that creates a AdaptiveProgressDialogResult object with the status set to closed.
factory
AdaptiveProgressDialogResult.error(dynamic error)
A factory method that creates a AdaptiveProgressDialogResult object with the status set to error and the error object.
factory
AdaptiveProgressDialogResult.success(T? data)
A factory method that creates a AdaptiveProgressDialogResult object with the status set to success and the data property set to the provided value.
factory

Properties

data → T?
final
error → dynamic
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
status DialogStatus
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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