forceScrollTop method

void forceScrollTop(
  1. int? scrollTop
)

Sets scrollTop and forces the change on the scroller div.

Implementation

void forceScrollTop(int? scrollTop) {
  _scrollTop = scrollTop;
  scroller?.forceScroll(scrollTop);
}