widgetPosition property
Offset
get
widgetPosition
Returns global position of the widget.
Example: context.widgetPosition
Implementation
Offset get widgetPosition => MediaQuery.of(this).size.topLeft(.zero);