Relative Content

Tag Archive for fluttergoogle-mapsmobile-applicationstateful

Should I avoid using StatefullWidget throught my flutter app?

I’m developing a taxi-hailing app and currently implementing Bloc for state management. While I’ve aimed to utilize stateless widgets where possible, I’ve found that for disposing controllers and building UIs more efficiently, a stateful widget seems necessary. However, I’ve encountered performance issues with the StatefulWidget. Should I persist with its usage, or do you have any alternative recommendations for maintaining performance while still leveraging the benefits of state management with Bloc?