updateCenter method

void updateCenter(
  1. Offset newCenter
)

Implementation

void updateCenter(Offset newCenter) {
  _center = newCenter;
}