Converts the global position to the local position in the widget.
Offset? globalToLocal(Offset global) => _state._globalToLocal(global);