DCM 💙
@DCMAnalyzer
Advanced linter for Flutter and Dart developers. Join our discord https://discord.gg/Vzjprgk4sb. "its not AI, but it’s better!"
🚀 Announcing DCM Dashboards general availability An ultimate solution to monitor code quality for your #Flutter projects. ✅Never let important issues slip ✅Visualize technical debt ✅Track trends within your org ✅Share reports with stakeholders
👀 Using GestureDetector with no event handlers? It’s doing nothing. The DCM rule "avoid-unnecessary-gesture-detector" warns when gesture detectors are unused. 🎥 Watch to learn how to fix it: youtu.be/FvU8a0jl2b4
🚀 No more SizedBox hacks!🚀 Flutter 3.27 added a "spacing" argument to Row, Column, and Flex 🙌 And with the "prefer-spacing" rule you can quickly find such cases in your #Flutter codebase → dcm.dev/docs/rules/flu…

Creating a new Future inside FutureBuilder in #Flutter? That restarts the async task every rebuild. Pass an existing Future from "initState", not from "build". 🔗Learn more how to fix this: dcm.dev/docs/rules/flu…

🎉 DCM 1.30.0: 22 New Lint Rules! Our latest release introduced 22 new lint rules to boost code quality in #Dart and #Flutter code! Check out our new rules: dcm.dev/blog/2025/07/0…

🤔 Using super() in a constructor when it’s not needed? The "avoid-unnecessary-super" rule warns when you add unnecessary super invocations or prefixes. 🎥 Watch to learn how to fix it: youtu.be/oU3q2AUj9o4
📊 DCM 1.30.0 Dashboards updates: ✔️ Removed "--with-details" flag ✔️ New summary views for issues & metrics ✔️ Toggle & tab for baselined issues ✔️ Smaller uploads Full details → dcm.dev/blog/2025/07/0…
🧹 Creating instances with a "dispose" method but not assigning them to a variable? That can cause memory leaks. The DCM rule "avoid-undisposed-instances" catches this before it becomes a bug. 🎥 Watch to learn how to fix it: youtu.be/cSiqXa8UMDM
🚫 Still using "MediaQuery.of(context)" in your #Flutter apps? Relying on "MediaQuery.of" can lead to unnecessary widget rebuilds, impacting your app’s performance. 🎥 Watch to learn, how you can fix it: youtu.be/w5S8YRUPyak
DCM v1.30.0 is out! 🔥 22 new rules 🚀 Baseline: support for code quality commands 📉 Baseline: sensitivity levels 📊 Dashboard enhancements ✅ Updated "recommended" preset 🎁 More rules in Free & Starter plans & more… Learn more 👉 dcm.dev/blog/2025/07/0…

Calling `super` methods in the wrong order can lead to bugs when some properties are not yet initialized or have already been disposed. Check out our latest video to learn more: youtu.be/aOTMDvD4kVs
🎉 DCM was featured on #ObservableFlutter! 📺 Watch Craig and Dmitry dive into how DCM helps teams write more maintainable #Flutter and #Dart code. 🙌 Thanks @FlutterDev for the spotlight! 🔗 Watch now: youtube.com/watch?v=ftPD7j…
Is your #Flutter app silently excluding users? In our new blog, we covered: ✅ New features in Flutter 3.32 ✅ Fixing common pitfalls (labels, text scaling, contrast) ✅ Automated testing with meetsGuideline & more ✅ Practical code examples & tools → dcm.dev/blog/2025/06/3…
👀 From digital separators to wildcard variables and null-aware elements, there's a new Dart feature for everyone in Flutter 3.32. Get the latest ↓
❓ Why declare a variable too soon? The `move-variable-closer-to-its-usage` rule suggests moving variable declarations closer to where they’re actually used, reducing memory allocations and potentially heavy calculations. 🔗 dcm.dev/docs/rules/com…

🚫 "avoid-duplicate-cascades" warns about duplicate cascade expressions in your #Flutter code. Why it matters: - Often a typo - Hidden bugs - Unexpected behavior 📽️ Watch to learn more: youtu.be/7jPiOrUvoKg