offset property

ViewportOffset get offset

Implementation

ViewportOffset get offset => _offset;
set offset (ViewportOffset value)

Implementation

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