looping_page_view 0.1.1
looping_page_view: ^0.1.1 copied to clipboard
A Flutter PageView that loops: swipe past the last page to reach the first, and back. Its controller reports real item indexes, so page indicators work.
0.1.1 #
- Add a demo GIF to the README and pub.dev screenshots. No code changes.
0.1.0 #
- Initial release:
LoopingPageView(.builderand achildrenconstructor) andLoopingPageController, whose pages are item indexes. animateToPagetakes the shortest way round, or aLoopDirection;nextPageandpreviousPagewrap around.loopcan be turned off and on at runtime, anditemCountcan change, without the item on screen changing.
