Creates a virtual viewport that displays a single child at a time.
The mainAxis
and anchor
arguments must not be null.
Source
LazyPageViewport({ double startOffset: 0.0, Axis mainAxis: Axis.vertical, ViewportAnchor anchor: ViewportAnchor.start, this.itemCount, this.itemBuilder }) : super( startOffset, mainAxis, anchor, false // Don't support wrapping yet. );