You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have a use-case where I want to show/hide some components, which can be done by add/remove them to the tree as described here.
I can be nicer to have a layout component that can show one of its child components and hide the rest, somehow similar to IndexedStack layout component in Flutter.
Proposal
Create a layout component similar to IndexedStack in Flutter that support show/hide child components.
More information
I have implemented it in my project here. It can be adapted to flame engine with some generalization.
Other
Are you interested in working on a PR for this?
The text was updated successfully, but these errors were encountered:
Problem to solve
I have a use-case where I want to show/hide some components, which can be done by add/remove them to the tree as described here.
I can be nicer to have a layout component that can show one of its child components and hide the rest, somehow similar to IndexedStack layout component in Flutter.
Proposal
Create a layout component similar to IndexedStack in Flutter that support show/hide child components.
More information
I have implemented it in my project here. It can be adapted to flame engine with some generalization.
Other
The text was updated successfully, but these errors were encountered: