Skip to content

Loop gallery infinity #378

@chreck

Description

@chreck

Is your feature request related to a problem? Please describe.
Normally an image gallery can be paged back and forth. Showing the images in a loop is very common.

Describe the solution you'd like
The PageView does support this. See example https://dartpad.dartlang.org/8c9075a0896138df116715ea36186506 or https://gist.github.com/Blasanka/a870803bb57bb57caf7eea11698e5a19. You just need to remove the itemCount parameter and make that not required anymore. I tried it out on my end but with no luck so far.

Describe alternatives you've considered
I could not found any other way.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions