position property

ScrollPosition? get position

The scroll position, or null when the scrollable is unmounted.

Implementation

ScrollPosition? get position {
  if (!_scrollable.mounted) {
    return null;
  }
  return _scrollable.position;
}