LoadingDialog<T> class Null safety

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. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent 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 dynamic context, String? title}) Future<void>
Shows an loading error dialog. [...]
run<T>({required dynamic context, required Future<T> future, String? title, bool? dismissible}) Future<T?>
Runs a future while displaying a stoppable dialog.