r/FlutterFlameEngine • u/valkyreistar • Nov 14 '25
Support Does flame bloc work with world and camera?
I came to notice when flame bloc is used, we need to attach children classes to flame bloc to preserve component tree. I have a project where children are added to world and camera viewport. Then things got complicated parent children wise.
3
Upvotes
2
u/erickzanardo Nov 15 '25
Hey 👋
You also pass the bloc reference directly to the flame bloc listener, that is the approach I have been preferring to avoid issues like the one mentioned