Skip to content

Allow OverlayPortal.overlayChildLayoutBuilder to choose which overlay to use. #168785

@davidhicks980

Description

@davidhicks980

Use case

OverlayPortal.overlayChildLayoutBuilder was recently landed, and it has proven useful for implementing animated nested menus (this is a huge understatement. I had written a gigantic follower chain layer that worked but was painfully complex. This will save me many hours). However, AFAIK, there is no option to target the root overlay.

Proposal

Allow developers to choose which overlay to target.

Metadata

Metadata

Assignees

Labels

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

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions