OverlayPopoverEntry<T> class
Implementation of OverlayCompleter for popover overlays.
Manages the lifecycle of a popover overlay entry, tracking completion state and handling overlay/barrier entry disposal.
- Inheritance
-
- Object
- OverlayCompleter<
T> - OverlayPopoverEntry
Constructors
Properties
-
animationCompleter
→ Completer<
T?> -
Completer that tracks the popover's animation lifecycle.
final
-
animationFuture
→ Future<
T?> -
Future that completes when the overlay animation finishes.
no setteroverride
-
completer
→ Completer<
T?> -
Completer for the popover's result value.
final
- config ↔ OverlayConfiguration?
-
The configuration currently applied to this overlay, if this mechanism
tracks one.
getter/setter pairoverride
-
future
→ Future<
T?> -
Future that completes with the overlay's result value.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setterinherited
- isAnimationCompleted → bool
-
Whether the overlay's animation has completed.
no setteroverride
- isCompleted → bool
-
Whether the overlay operation has completed.
no setteroverride
-
onClose
↔ Future<
T?> Function()? -
Invoked by close (animated). Set by PopoverConfiguration.show.
getter/setter pair
-
onCloseWithResult
↔ Future<
T?> Function(Object? value)? -
Invoked by closeWithResult. Set by PopoverConfiguration.show.
getter/setter pair
- onImmediateClose ↔ VoidCallback?
-
Invoked by closeLater/immediate close. Set by
PopoverConfiguration.show.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
-
stateKey
↔ GlobalKey<
PopoverOverlayWidgetState> ? -
The key used to look up this popover's live widget state, e.g. for
config. Set by PopoverConfiguration.show before the popover is
built.
getter/setter pair
Methods
-
close(
[bool immediate = false]) → Future< void> -
Closes the overlay.
override
-
closeLater(
) → void -
Schedules overlay closure for the next frame.
override
-
closeWithResult<
X> ([X? value]) → Future< void> -
Closes the overlay with a result value.
override
-
dispose(
) → void -
Disposes resources associated with the overlay.
override
-
initialize(
OverlayEntry overlayEntry, [OverlayEntry? barrierEntry]) → void - Initializes the popover entry with overlay entries.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
remove(
) → void -
Removes the overlay from the screen.
override
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited