Skip to content

support built-in components like ListView, Dialog, or TabView..... #3595

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

Open
1 task
tangjiemian opened this issue May 7, 2025 · 1 comment
Open
1 task

Comments

@tangjiemian
Copy link

Problem to solve

I believe Flame should have its own GUI component system. This would significantly improve interactivity in game interfaces. Are there any plans to support built-in components like ListView, Dialog, or TabView

Proposal

I believe Flame should have its own GUI component system. This would significantly improve interactivity in game interfaces. Are there any plans to support built-in components like ListView, Dialog, or TabView

More information

No response

Other

  • Are you interested in working on a PR for this?
@spydon
Copy link
Member

spydon commented May 7, 2025

We don't want to rebuild Flutter inside of Flame, so we'll for example probably never have text input components built into Flame. Since Flame is design agnostic, it doesn't have Material or Cupertino like Flutter does, so the components would not have any default styling.

Some helper components, like we have the RowComponent and ColumnComponent, would definitely be doable. ListView I'm unsure of if we'd want to support, since then we'd have to support scrolling.

For the Dialog and TabView, what type of functionality do you want from Flame?
Both seem to me like they would already be quite simple to do in Flame today, but maybe we can make it even simpler.

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