offset property

set offset (ViewportOffset value)

Implementation

set offset(ViewportOffset value) {
  if (value == _offset) return;
  if (attached) _offset.removeListener(_onScroll);
  _offset = value;
  if (attached) _offset.addListener(_onScroll);
  markNeedsLayout();
}