translate method

void translate(
  1. double x,
  2. [double y = 0.0,
  3. double z = 0.0]
)

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

Implementation

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