scrollOffset property
ViewportOffset
get
scrollOffset
Implementation
ViewportOffset get scrollOffset => _scrollOffset;
set
scrollOffset
(ViewportOffset? value)
Implementation
set scrollOffset(ViewportOffset? value) {
if (value == null) return;
if (value == _scrollOffset) return;
_scrollOffset = value;
_scrollOffset.removeListener(_scrollXListener);
_scrollOffset.addListener(_scrollXListener);
renderTextControlLeaderLayer?.markNeedsLayout();
}