localToGlobal method

Offset localToGlobal(
  1. Offset point,
  2. RenderView view

Convert the given point from the local coordinate space to the global coordinate space of the RenderView.

This method operates in logical pixels for both coordinate spaces. It does not apply the device pixel ratio to translate to physical pixels.

For definitions for coordinate spaces, see TestWidgetsFlutterBinding.


Offset localToGlobal(Offset point, RenderView view) => point;