scrollTo method

void scrollTo(
  1. int offset
)

Implementation

void scrollTo(int offset) {
  _scrollOffset = offset < 0 ? 0 : offset;
}