localToGlobal property

Offset get localToGlobal

Returns the Offset of the RenderObject of the current context.

Implementation

Offset get localToGlobal =>
    renderBox?.localToGlobal(Offset.zero) ?? Offset.zero;