The current scroll offset in pixels based on direction.
double get offset { if (_attachedElement != null) { _offset = (direction == ScrollDirection.vertical ? _attachedElement!.scrollTop : _attachedElement!.scrollLeft); } return _offset; }