Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a mechanism to walk the Widget tree #2232

Open
JakeWharton opened this issue Aug 2, 2024 · 0 comments
Open

Add a mechanism to walk the Widget tree #2232

JakeWharton opened this issue Aug 2, 2024 · 0 comments

Comments

@JakeWharton
Copy link
Collaborator

We want parents to be able to act on the entire subtree. We have this at the protocol-layer, but we want it at the Widget layer.

Ideally it's something on Widget, like an allChildren: List<Widget.Children<W>> or maybe even allChildren: Sequence<Widget<W>>.

However, because of Objective-C export, we cannot add generated functions to a Widget sub-interface as they appear unimplemented in the header. So we're blocked by #2231.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants