UiOverlay class

Durable identity for one captured modal surface. Live nodes remain flat; the cache groups their structure under this key, matching native SDKs.

Constructors

UiOverlay({required int id, required String key, required String kind, required int layer, String source = 'flutter-popup-route', Rect? bounds})
const

Properties

bounds → Rect?
The overlay root's rect (logical px). A lower-layer node is covered by this surface only when this rect contains it; null when unknown (a snapshot assembled without capture geometry).
final
hashCode → int
The hash code for this object.
no setterinherited
id → int
final
key → String
final
kind → String
final
layer → int
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
source → String
final

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