moveBy method

void moveBy(
  1. Vector2 offset, {
  2. double speed = double.infinity,
})

Move the camera by the given offset.

Implementation

void moveBy(Vector2 offset, {double speed = double.infinity}) {
  stop();
  viewfinder.add(MoveByEffect(offset, EffectController(speed: speed)));
}