translateOffset method

Matrix4Transform translateOffset(
  1. Offset? offset
)

Translates by x pixels (horizontal) and y pixels (vertical). Positive goes down/right.

Implementation

Matrix4Transform translateOffset(Offset? offset) {
  return (offset == null) //
      ? this
      : Matrix4Transform._(m.clone()..translate(offset.dx, offset.dy));
}