Skip to content

Enhancement: Add a Tree widget that users slivers and lazy building #31606

@devnoname120

Description

@devnoname120

Building a tree-like widget with many children can currently not be done without blocking the main UI thread. It's not possible to use nested ListView in order to get lazy loading because the tree is not necessarily balanced so if an element has a lot of nested children, it will take a significant time to build anyway which means the UI will hang.

Here is an issue showing an example of why it's needed: #30987

Cc @dnfield.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Issues that are less important to the Flutter projectc: new featureNothing broken; request for a new capabilityf: scrollingViewports, list views, slivers, etc.frameworkflutter/packages/flutter repository. See also f: labels.team-frameworkOwned by Framework teamtriaged-frameworkTriaged by Framework teamwould be a good packageSeparate Flutter package should be made for this

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions