Updates the scroll behavior for the new content and container extent.
For convenience, this function combines three common operations:
- Updating the scroll behavior extents with
ExtentScrollBehavior.updateExtents
. - Notifying this object that the scroll behavior was updated with
didUpdateScrollBehavior
. - Updating this object's gesture detector with updateGestureDetector.
Source
void handleExtentsChanged(double contentExtent, double containerExtent) { didUpdateScrollBehavior(scrollBehavior.updateExtents( contentExtent: contentExtent, containerExtent: containerExtent, scrollOffset: scrollOffset )); updateGestureDetector(); }