moveTo method

void moveTo({
  1. double? x,
  2. double? y,
})

Implementation

void moveTo({ double? x, double? y }) {
  move(
    dx: x != null ? x - left : 0,
    dy: y != null ? y - top : 0
  );
}