offset property

Offset get offset

The current translation offset applied to the transformation. Returns an Offset representing the translation values on the x and y axes.

Implementation

Offset get offset {
  return Offset(
    _transformCtrl.value.getTranslation().x,
    _transformCtrl.value.getTranslation().y,
  );
}