translate method

StyleContext translate({
  1. double x = 0,
  2. double y = 0,
})

Implementation

StyleContext translate({double x = 0, double y = 0}) {
  _translation = _translation + Offset(x, y);
  return this;
}