DialogOverlayCompleter<T> class

Completer that manages the lifecycle of a dialog overlay.

Provides control over dialog animations, completion status, and disposal. Wraps a DialogRoute to offer a consistent interface for managing dialog lifecycles through the overlay system.

Features:

  • Animation state monitoring
  • Future-based completion handling
  • Proper resource disposal
  • Route management integration

Example:

final completer = DialogOverlayCompleter(dialogRoute);
await completer.future; // Wait for dialog completion
completer.remove(); // Programmatically close dialog
Inheritance

Properties

animationFuture Future<void>
no setteroverride
future Future<T>
no setteroverride
hashCode int
The hash code for this object.
no setterinherited
isAnimationCompleted bool
no setteroverride
isCompleted bool
no setteroverride
route DialogRoute<T>
The dialog route managed by this completer.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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