void translate(double x, [ double y = 0.0, double z = 0.0 ])

Concatenates a translation by (x, y, z) into the transform.

Source

void translate(double x, [double y = 0.0, double z = 0.0]) {
  _transform.translate(x, y, z);
  markNeedsPaint();
}