CoordinateResolver class

Resolves nodes to live geometry. Lazy — re-queries every call.

Available extensions

Constructors

CoordinateResolver(FlutterRuntime _runtime)

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

barrierDismissible(Scene scene) → Future<bool?>

Available on CoordinateResolver, provided by the ModalGeometry extension

Whether the top modal barrier closes its route when tapped; null when there is no barrier or the app would not say.
boundsOf(Scene scene, SceneNode node) → Future<({double h, double vh, double vw, double w, double x, double y})?>

Available on CoordinateResolver, provided by the ModalGeometry extension

Global rect and view size of node (an inspector node needs no glintId), or null when it cannot be measured.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
resolve(Scene scene, String glintId) → Future<ResolvedCoord>
resolveViewport(Scene scene, String glintId) → Future<({double dpr, double h, double w})>
Viewport dimensions without a hit-test. Safe on Dart 3.12 / iOS 26 where HitTestResult is inaccessible in the CFE eval scope; use over resolve.
resolveViewportNodeFree() → Future<({double dpr, double h, double w})>
Viewport dimensions straight from the implicit view — no selected node, so it works before the first addressable widget renders (issue #13).
toString() → String
A string representation of this object.
inherited

Operators

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