LoadingDialog<T> class

Dialog with a stop button, while a future is running.

Typical use-case: wait during download.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

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

Static Methods

error({required BuildContext context, String? title, bool shouldOpenNewIssue = false}) → Future<void>
Shows an loading error dialog.
run<T>({required BuildContext context, required Future<T> future, String? title, bool? dismissible}) → Future<T?>
Runs a future while displaying a stoppable dialog.