Skip to content

2D follow up: Persist state for reordered keyed children #130754

@Piinks

Description

@Piinks

Related to #126297

I thought I would do both in one change, but looking at the code it will be easier to review these changes separately.

This would be similar to ChildIndexGetter and SliverChildDelegate.findIndexByKey API. If a stateful keyed child is reordered in a 2D scroll view, we should be able to persist its state when it changes ChildVicinity.

Metadata

Metadata

Assignees

Labels

P2Important issues not at the top of the work listc: 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 team

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions