TPTarun Prajapatiintarunprajapati.hashnode.dev·Jul 7, 2025 · 2 min readSmarter State Management in Flutter: When Not to Put BLoCs in main.dartWhile building a modular Flutter app using the BLoC (Business Logic Component) pattern, I stumbled upon a performance anti-pattern that many devs (including me) often fall into: Putting all BLoCs inside main.dart using MultiBlocProvider — whether or...00
TPTarun Prajapatiintarunprajapati.hashnode.dev·Jun 10, 2025 · 2 min read🧹 Fixing the Delete Feature in My Flutter Chat App: Lessons from FirestoreBuilding real-time apps is fun—until you hit a bug that hides in plain sight. Recently, I tackled a common yet tricky feature: deleting messages from a chat app built with Flutter and Firebase Firestore. ✅ What Was the Problem? In my real-time chat a...00