Offset localToGlobal(Offset localPosition) { final transform = getTransformTo(null); return MatrixUtils.transformPoint(transform, localPosition); }