offset property

int get offset

The current scroll offset in cells.

Implementation

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

Sets the scroll offset, notifying listeners if the value changes.

Implementation

set offset(int value) {
  if (_offset != value) {
    _offset = value;
    notifyListeners();
  }
}