Skip to content
pubscout

loop_page_view

1.2.5, released 3 years ago by an unverified publisher

A PageView builder wrapper enabling infinite scrolling in both directions.

WASM-ready
$ flutter pub add loop_page_view
Source repository

What it does

Provides a LoopPageView widget and LoopPageController that allow for endless scrolling in both directions. Supports direct animated jumps between pages, custom scroll directions, and configurable looping behavior.

AI-written summary of version 1.2.5, based on the package's README and metadata. Report an inaccuracy

Use it when

  • You need an infinite scrolling PageView in Flutter
  • You require bi-directional looping with custom start activation modes
  • You want to jump to pages without building intermediate pages

Skip it when

  • You need standard non-looping PageView features without extra customization
  • You are not using the flutter SDK

Strengths

  • Supports endless scrolling in both directions
  • Custom LoopPageController with animateJumpToPage method
  • Configurable scrolling modes (shortest, forwards, backwards) and loop activation modes

Weaknesses

  • Requires a specific LoopPageController instead of a standard PageController
  • Always requires an item count

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
LoopPageView.builder(
  itemCount: 2,
  itemBuilder: (_, index) {
    return Card(
      child: Center(
        child: Text('$index'),
      ),
    );
  },
)

Alternatives

Packages that do the same job and could replace loop_page_view.