I get this error when I use a Bottom NavBar using GetX, main screen have a Controller and I add a observable for management the Bottom NavBar state. Each item have a Controller and I add a observable too.
This Obx widget cannot be marked as needing to build because the framework is already in the process of building widgets. A widget can be marked as needing to be built during the build phase only if one of its ancestors is currently building. This exception is allowed because the framework builds parent widgets before children, which means a dirty descendant will always be built. Otherwise, the framework might not visit this widget during this build phase.