LoadMode.whenInViewport constructor
LoadMode.whenInViewport(
- Stream<
ScrollPosition> checkIfInViewport, { - int? pixelOffset,
factory method to create a class WhenInViewport
Implementation
factory LoadMode.whenInViewport(
Stream<ScrollPosition> checkIfInViewport, {
int? pixelOffset,
}) {
return WhenInViewport(
checkIfInViewport: checkIfInViewport,
pixelOffset: pixelOffset,
);
}