widgetGlobalPosition property
Returns an Offset representing this widget's screen position, with 0,0 being the top left of the screen.
Implementation
Offset get widgetGlobalPosition {
return (owner != null && widgetRenderBox != null) ? widgetRenderBox!.localToGlobal(Offset.zero) : Offset.zero;
}