setUpOverflowScroller method
void
setUpOverflowScroller(
- Size scrollableSize,
- Size viewportSize
)
Implementation
void setUpOverflowScroller(Size scrollableSize, Size viewportSize) {
// Recycler layout not need repaintBoundary and scroll/pointer listeners,
// ignoring overflowX or overflowY sets, which handle it self.
if (this is RenderSliverListLayout) {
return;
}
_scrollableSize = scrollableSize;
_viewportSize = viewportSize;
if (_scrollOffsetX != null) {
_setUpScrollX();
}
if (_scrollOffsetY != null) {
_setUpScrollY();
}
}