flame
flame copied to clipboard
Render an IconData in the Flame Engine
Problem to solve
In the Flutter widgets, we have Icon that allows you to render an IconData in the widget tree. But there is no similar concept/component in the Flame engine
Proposal
I suggest to create something like IconComponent that allows you to render and IconData in the Flame Component System.
This way, we will also be able to use tabler_icons (because it provides IconData)
More information
No response
Other
- [ ] Are you interested in working on a PR for this?
You can also achieve this similarly by just loading the icons packages directly as a font file and working with either TextComponent or implementing your own renderers.
If anyone is keen to work on this I think an IconComponent could be a cool addition.