ExtGlobalkey extension

on

Properties

box RenderBox

Available on GlobalKey<State<StatefulWidget>>, provided by the ExtGlobalkey extension

Returns the underlying RenderBox associated with this GlobalKey.
no setter
globalOffset Offset

Available on GlobalKey<State<StatefulWidget>>, provided by the ExtGlobalkey extension

Global position of the widget's top-left corner.
no setter
globalX double

Available on GlobalKey<State<StatefulWidget>>, provided by the ExtGlobalkey extension

Global X position of the widget.
no setter
globalY double

Available on GlobalKey<State<StatefulWidget>>, provided by the ExtGlobalkey extension

Global Y position of the widget.
no setter
h double

Available on GlobalKey<State<StatefulWidget>>, provided by the ExtGlobalkey extension

Height of the widget in logical pixels.
no setter
isMounted bool

Available on GlobalKey<State<StatefulWidget>>, provided by the ExtGlobalkey extension

Checks if the widget associated with this GlobalKey is currently mounted in the widget tree.
no setter
localOffset Offset

Available on GlobalKey<State<StatefulWidget>>, provided by the ExtGlobalkey extension

Local position (relative to itself), usually Offset.zero.
no setter
localX double

Available on GlobalKey<State<StatefulWidget>>, provided by the ExtGlobalkey extension

Local X position.
no setter
localY double

Available on GlobalKey<State<StatefulWidget>>, provided by the ExtGlobalkey extension

Local Y position.
no setter
size Size

Available on GlobalKey<State<StatefulWidget>>, provided by the ExtGlobalkey extension

Returns the size of the widget associated with this GlobalKey.
no setter
w double

Available on GlobalKey<State<StatefulWidget>>, provided by the ExtGlobalkey extension

Width of the widget in logical pixels.
no setter

Methods

globalOffsetTo(Offset offset) Offset

Available on GlobalKey<State<StatefulWidget>>, provided by the ExtGlobalkey extension

Converts a local offset to a global screen position.
localOffsetTo(Offset offset) Offset

Available on GlobalKey<State<StatefulWidget>>, provided by the ExtGlobalkey extension

Converts a global offset to a local widget position.