scrollWidth property

int get scrollWidth

Implementation

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