scrollWidth property

double get scrollWidth
inherited

Implementation

double get scrollWidth {
  KrakenScrollable? scrollable = _getScrollable(Axis.horizontal);
  if (scrollable?.position?.maxScrollExtent != null) {
    return renderBoxModel!.clientWidth + scrollable!.position!.maxScrollExtent!;
  }
  Size scrollContainerSize = renderBoxModel!.scrollableSize;
  return scrollContainerSize.width;
}