Skip to content

[Feature request] expose allowImplicitScrolling in ExtendedImageGesturePageView #752

@lsthye

Description

@lsthye

Platforms

dart

Description

Hi

I'd like to request that ExtendedImageGesturePageView expose the allowImplicitScrolling property from GesturePageView.

Why

Currently, when using ExtendedImageGesturePageView I have a different loading/caching requirement which cause split second blank/loading state while swiping horizontally even when I use precacheImage.

Flutter's PageView solves this with allowImplicitScrolling = true, which keeps the previous and next page alive in the viewport. That completely removes the blank-page flash in my tests.

I saw that a preloadPagesCount option was introduced before, but later removed due to issues. I understand why, it introduced more complexity and maintenance overhead.

However, my request is simpler:
👉 Just expose allowImplicitScrolling so we can opt into Flutter’s built-in page caching behavior.
This keeps the library clean, uses Flutter’s intended API, and lets developers handle heavier preloading separately if needed.

Proposed API

ExtendedImageGesturePageView.builder(
  allowImplicitScrolling: true, // just passed down to GesturePageView
  ...
)

Benefits

  • Removes “blank page” issue when swiping horizontally.
  • Aligns with Flutter’s own PageView API.
  • Minimal code change, no need to reintroduce preloadPagesCount.

Thanks for the great work on this library 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions