Skip to content

Allow PageView to set a cacheExtent #45632

Description

@dnfield

b/260361075

It would be nice to have a PageView that has a cacheExtent specified, so that pages could be pre-built.

This is currently blocked because the iOS accessibility bridge does not look for an allowImplicitScrolling flag on the parent scrollable - it only looks to see if there are additional scroll children in the tree. Setting a cache extent would then automatically enable implicit scrolling for PageViews in Voiceover mode, which we do not want. If we can figure out a good way to address the iOS bridge issue, it should be fairly trivial to expose a cacheExtent parameter on the PageView.

/cc @lukepighetti who has done some work on this on the framework side.

Unfortunately, the iOS bug is not trivial to fix.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P2Important issues not at the top of the work listc: proposalA detailed proposal for a change to Fluttercustomer: money (g3)frameworkflutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework team

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions