Creates PageView.builder with allowing dynamic sizes of items.
This constructor is appropriate for page views with a large (or infinite)
number of children with different sizes because the builder is called
only for those children that are actually visible.
See more PageView.builder
If allowItemSizes is true then each item will b resized accordingly
to its the orthogonal scroll direction size. Sizes in scrollbar's
will be applied by default
A normal controller for PageView or DynamicPageView.
A page controller lets you manipulate which page is visible in
a DynamicPageView. Currently pixel offset and viewport size are
not supported. For more see: PageController
Builds item by index Items are only build if they are needed. Make sure that
the item pixel size is equivalent to the size passed to the itemSizeRetriever.
The itemExtent is the extend of each item that is not being scrolled.
When scrolling this extend will result in a not noticeable jump. In other
words, the scrolling is never able to come to a stop in the extend.
How the page view should respond to user input.
For example, determines how the page view continues to animate after the
user stops dragging the page view. The physics are modified to snap to
page boundaries using PageScrollPhysics prior to being used. If an explicit
ScrollBehavior is provided to scrollBehavior, the ScrollPhysics provided
by that behavior will take precedence after physics.
Defaults to matching platform conventions.
Controls the percentage position of the snap point in the viewport.
Meaning if snapAlignment is 0, the snap point is at the top/left, while
1 would be to the right/bottom based on scrollDirection
Default is SnapAlignment.static(0.5);
Controls the percentage position of the snap point in on each item.
Meaning if snapAlignment is 0, the snap point is at the top/left of the
item, while 1 would be to the right/bottom based on scrollDirection
Default is SnapAlignment.static(0.5);