OpenPopupRoutes class

Names of the popup routes (dialogs, sheets, menus) that are open right now.

A named popup does not change the page route — it is a surface ON the current page — so its name never reaches EmbedRouteManager.currentRoute. Capture policy still has to see it: a host that lists otp_dialog in disabledRoutes means "never capture while that dialog is up", and the page's own permission must not leak the dialog's contents. Fed by EmbedNavigatorObserver (which resolves names through the host's nameExtractor), consumed by CaptureScope.

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 Properties

names → List<String>
Names of popups still attached to a live navigator. A route whose navigator was torn down without a pop is pruned here, so a stale entry cannot block capture for the rest of the process.
no setter

Static Methods

add(Route? route, String? name) → void
Record route as open under name. Non-popup routes and unnamed popups are ignored (an unnamed popup cannot match a host route pattern).
debugReset() → void
remove(Route? route) → void