loop_page_view
1.2.5, released 3 years ago by an unverified publisher
A PageView builder wrapper enabling infinite scrolling in both directions.
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.
- flutter_qiblah
Widget that displays Qiblah direction using device sensors and location.
56Compare - floating_overlay
Widget wrapper that lets a child float, drag and resize on screen.
47Compare - infinite_listview
ListView that scrolls infinitely in both directions.
50Compare - page_view_indicators
Customizable page indicators for PageViews including circles, arrows, progress, and steps.
48Compare