jumpTo method

void jumpTo(
  1. int offset
)

Instantly jump to the specified offset.

Implementation

void jumpTo(int offset) {
  scrollOffset = offset;
}