NudgeWidgetTracker class
========= Public facade (both paths) =========
Constructors
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 Methods
-
clearForCurrentScreen(
) → void -
findWidgetDetails(
{required String label, required num scaleX, required num scaleY, num? statusBarHeight}) → Future< Map< String, dynamic> > -
findWidgetPositionByLabel(
String label, num xFactor, num yFactor) → WidgetDetails? -
getAllWidgetDetails(
num scaleX, num scaleY) → List< Map< String, dynamic> > - ======== Your existing public API (unchanged shapes) ========
-
nativeFindWidgetPositionByLabel(
{required String label, required num scaleX, required num scaleY, num? statusBarHeight, required Size screenSize}) → Future< Map< String, dynamic> > -
register(
String label) → GlobalKey< State< StatefulWidget> > - Legacy API: return a GlobalKey (latest registration wins).
-
registerKey(
String label, GlobalKey< State< key) → voidStatefulWidget> > - If clients already created a GlobalKey and want to bind it.
-
unregister(
String label) → void - Legacy explicit remove (no gen check) — use with care.