loop_page_view icon indicating copy to clipboard operation
loop_page_view copied to clipboard

Feature Request: Add the possibility to disable looping

Open salpers opened this issue 11 months ago • 2 comments

I've been using the LoopPageView package primarily for its excellent animateJumpToPage function, which works great for my needs.

However, I'm looking for a way to disable the looping behavior of the PageView, e.g. bouncing animation when itemCount is reached. The current implementation always loops, but I have use cases where I'd prefer to have the standard non-looping behavior while still maintaining access to the smooth animation functions. Is there any existing way to disable looping, or could this be added as a configuration option?

salpers avatar Mar 03 '25 13:03 salpers

In that case my first suggestion would be to fallback to the default Flutter PageView component instead. But I agree we would miss the animateJumpToPage function. I will add the option to disable looping. Thanks for the feedback.

wjuniorgit avatar Mar 04 '25 15:03 wjuniorgit

I'd appreciate this change too.

anders-au avatar Mar 18 '25 04:03 anders-au