panByOffsetAnimated method

void panByOffsetAnimated(
  1. TickerProvider vsync,
  2. Offset offset,
  3. Duration duration
)

Implementation

void panByOffsetAnimated(
    TickerProvider vsync, Offset offset, Duration duration) {
  final latLng = camera.newCenterFromOffset(offset);
  centerPointAnimated(vsync, latLng, duration: duration);
}