DCM's Avatar

DCM

@dcm.dev

Advanced linter for Flutter and Dart developers dcm.dev. Join our discord https://discord.gg/Vzjprgk4sb. "its not AI, but it’s better!"

200
Followers
33
Following
145
Posts
14.11.2024
Joined
Posts Following

Latest posts by DCM @dcm.dev

Preview
BoursoBank Customer Story | DCM - Code Quality Tool for Flutter Developers With DCM in place, BoursoBank significantly improved the runtime safety and consistency of their Flutter codebase. Errors that previously slipped through to production are now caught early, even when ...

DCM improved BoursoBank's Flutter runtime safety, catching errors early before production. Applied to 60+ packages, DCM gave developers confidence that sensitive payment and authentication flows are protected.

Read the entire case study: dcm.dev/customers/bo...

06.03.2026 19:16 👍 1 🔁 0 💬 0 📌 0

Using DCM, they enabled:
🔸 Pre-commit hooks & strict CI checks
🔸 ~20 targeted, safety-first linting rules enabled
🔸 Automated elimination of unsafe APIs & provider lookup errors
🔸 Sonar-compatible reporting for internal governance

👇

06.03.2026 19:16 👍 0 🔁 0 💬 1 📌 0

Scaling a 60+ package monorepo with developers transitioning from web to Dart while maintaining strict banking compliance wasn’t easy!

Imagine needs for strict CI checks, auto-detection, and automation to eliminate unsafe APIs with Sonar-compatible reporting!

👇

06.03.2026 19:16 👍 1 🔁 0 💬 1 📌 0
Post image

We just published a case study with BoursoBank, France’s largest online bank!

They secure mission-critical #Flutter mobile & web apps with DCM.

💯 The results? maintainable architecture, & zero crashes in payment & authentication flows for 70+ engineers

Here's how they do it 👇

06.03.2026 19:16 👍 1 🔁 0 💬 1 📌 0
Preview
10 Flutter Widgets Probably Haven’t Heard Of (But Should Be Using!) | DCM - Code Quality Tool for Flutter Developers In this article, I want to share some of those hidden gems I’ve discovered lesser-known widgets and functionalities that can simplify your development process and add a unique touch to your apps. More...

Ever discovered a Flutter widget and thought, “Why didn’t I see this sooner?” 🤔

We’ve uncovered 10 under-the-radar widgets that even seasoned devs almost never use! 👇

dcm.dev/blog/2025/01...

What widget surprised you the most?

06.03.2026 14:40 👍 5 🔁 1 💬 0 📌 0
Preview
Flutter Provider Best Practices You're Probably Missing | DCM - Code Quality Tool for Flutter Developers Learn how the Provider package works by reading its source code. Understand the architecture behind Flutter dependency injection and discover why certain patterns prevent bugs and memory leaks.

Are silent bugs hiding in your #Flutter Provider code?

You might be missing:
💥 .value trap
🚫 .dispose gap
👀 .read vs .watch
✋ .selector logic

We explored the Provider's source code to uncover common architecture mistakes: dcm.dev/blog/2026/03...

04.03.2026 19:47 👍 0 🔁 0 💬 0 📌 0
Post image

Once you have multiple #Flutter projects, it's often required to manage different DCM versions.

Our new guide covers:
🔄 Fast version switching
💻 Helper scripts (Zsh, Bash, Fish, PS)
💙 FVM support
🤝 Team consistency with dcm_global.yaml

Read here: dcm.dev/docs/guides/...

03.03.2026 17:46 👍 1 🔁 0 💬 0 📌 0
avoid-unused-assignment (Rules of the Week)
avoid-unused-assignment (Rules of the Week) YouTube video by DCM Analyzer

🤷‍♂️ Assigning values that never get used?

Enable the "avoid-unused-assignment" rule that warns when an assignment is not used in the following statements.

🎥 Watch to learn more: youtu.be/HajF6gXkAik

24.02.2026 19:28 👍 0 🔁 0 💬 0 📌 0
Post image

We recently published a case study with Betterment where the team adopted DCM into their workflow, which helped them to:
- Cut feedback cycles from minutes to seconds
- Focus on architecture review rather than styling
- Ship faster & safer

Full story: dcm.dev/customers/be...

24.02.2026 14:52 👍 0 🔁 0 💬 0 📌 0
Preview
10 Lesser-Known Dart and Flutter Functionalities You Should Start Using | DCM - Code Quality Tool for Flutter Developers In this article, I want to share some of those hidden gems I’ve discovered—lesser-known functionalities that can simplify your development process and add a unique touch to your apps. Moreover, we wil...

🧠 Ever found a #Dart or #Flutter function that completely changed how you think about coding?

We’ve rounded up 10 underrated functions that can simplify code, reduce boilerplate, and teach you something new about the language itself.

📖 dcm.dev/blog/2025/02...

19.11.2025 15:46 👍 2 🔁 0 💬 0 📌 0
Preview
A Deeper Look at Dart's Dot Shorthands (and Their Hidden Complexity For Your Flutter Projects) | DCM - Code Quality Tool for Flutter Developers Deep dive into Dart 3.10's dot shorthand syntax: learn when to use it, avoid common pitfalls like nested shorthands, and discover best practices with practical examples and DCM lint rules.

Dart 3.10's dot shorthands are game changers for #Flutter code:

✅ shorter enums, less boilerplate, and sharper syntax.
⚠️ But beware the hidden complexities!

Learn about “Practical Rulebook for Teams” 👇 dcm.dev/blog/2025/11...

18.11.2025 15:35 👍 7 🔁 3 💬 1 📌 0
avoid-incorrect-image-opacity (Rules of the Week)
avoid-incorrect-image-opacity (Rules of the Week) YouTube video by DCM Analyzer

🖼️ Wrapping a #Flutter Image widget with an Opacity widget?

That’s inefficient. The DCM rule "avoid-incorrect-image-opacity" warns you to use the "opacity" parameter directly instead.

🎥 Watch to learn how to fix it: youtu.be/ooKFXNhm_TU

18.11.2025 15:55 👍 1 🔁 0 💬 0 📌 0
Preview
A Deeper Look at Dart's Dot Shorthands (and Their Hidden Complexity For Your Flutter Projects) | DCM - Code Quality Tool for Flutter Developers Deep dive into Dart 3.10's dot shorthand syntax: learn when to use it, avoid common pitfalls like nested shorthands, and discover best practices with practical examples and DCM lint rules.

Dart 3.10's dot shorthands are game changers for #Flutter code:

✅ shorter enums, less boilerplate, and sharper syntax.
⚠️ But beware the hidden complexities!

Learn about “Practical Rulebook for Teams” 👇 dcm.dev/blog/2025/11...

18.11.2025 15:35 👍 7 🔁 3 💬 1 📌 0
Preview
8 More Flutter Widgets You’re Probably Not Using (But Should Be) | DCM - Code Quality Tool for Flutter Developers Discover 8 powerful Flutter widgets you might not be using yet, with practical examples and tips to boost your app's performance and UI versatility.

🤯 8 Flutter widgets you’re probably overlooking and why they matter.

In this article, we will show practical usage + their implementation source code to learn more from!

Which one surprised you? 👉 dcm.dev/blog/2025/10...

28.10.2025 19:36 👍 3 🔁 0 💬 0 📌 0
Post image

Ever written a function that always returns the same value (like "true")? 🤔

It usually means the logic isn’t doing what you think.

The "function-always-returns-same-value" rule catches these bugs before they spread! 👉 dcm.dev/docs/rules/c...

03.09.2025 14:32 👍 0 🔁 0 💬 0 📌 0
avoid-suspicious-super-overrides (Rules of the Week)
avoid-suspicious-super-overrides (Rules of the Week) YouTube video by DCM Analyzer

Overriding fields from a super constructor with a getter? 🤔 That can break your code or lead to unexpected results!

The "avoid-suspicious-super-overrides" rule helps you quickly spot and fix such issues.

👉 youtu.be/X_VgMfUSid4

01.09.2025 14:50 👍 0 🔁 0 💬 0 📌 0
Preview
Let Your AI Assistant Tame Your Tech Debt (with Dart, Flutter and DCM MCP Servers) | DCM - Code Quality Tool for Flutter Developers AI-generated code is creating tech debt. Learn how to build an agentic workflow that makes your AI assistant clean up after itself. This guide for Dart and Flutter developers uses DCM and MCP to autom...

AI is speeding up coding but also technical debt ⚡️

In our new post we have brought to you how #Dart & #Flutter devs can use Dart & Flutter and DCM MCP servers to:

- Automate cleanup loops
- Enforce lints & metrics
- Keep AI-generated code maintainable

Read here: dcm.dev/blog/2025/08...

27.08.2025 12:56 👍 2 🔁 0 💬 0 📌 0
Post image

If your #Flutter widget tree has a matching sequence of "Align", "Padding", "ClipPath", and others, it can often be replaced with a single "Container" widget.

Use the "prefer-container" rule to simplify the layout dcm.dev/docs/rules/f...

07.08.2025 13:20 👍 7 🔁 2 💬 0 📌 0
prefer-single-widget-per-file (Rules of the Week)
prefer-single-widget-per-file (Rules of the Week) YouTube video by DCM Analyzer

📦 One widget per file = easier-to-navigate, easier-to-maintain #Flutter code.

See how DCM enforces this best practice ⬇️ youtu.be/xa4zMwpXrr8

25.08.2025 15:27 👍 1 🔁 0 💬 0 📌 0
Post image

🔥 13 new rules!

DCM 1.31.0 is out and we've added 13 new rules that include Riverpod and #Flutter best practices, as well as common practices for #Dart.

➡️ Learn more about new rules in our latest blog: dcm.dev/blog/2025/08...

25.08.2025 13:32 👍 2 🔁 0 💬 0 📌 0
Post image

DCM 1.31.0 is here! 🎉

🔧 13 new rules
🤖 DCM MCP Server
💾 Memory optimization for code quality commands
🧩 Baseline for check-parameters
📋 more rules in Free and Starter plans
📊 JSON/CSV for lints-preview, Dashboard improvements, and more.

👉 dcm.dev/blog/2025/08...

18.08.2025 18:04 👍 1 🔁 0 💬 0 📌 0
Post image

Using `_` instead of `context`? You might be referencing the wrong `BuildContext`. That can lead to subtle bugs.

🔗 Here is a rule to help you quickly find such issues: dcm.dev/docs/rules/f...

#Flutter #Dart

12.08.2025 10:15 👍 1 🔁 0 💬 0 📌 0
Preview
Pricing | DCM - Code Quality Tool for Flutter Developers Find a plan that is right for you.

🚀 Introducing the DCM Starter Plan: Built for Small Teams

🪑 Start from 2 seats
🔍 213 rules
🛠️ Quick fixes
‼️ All CLI commands
📊 Dashboards & CI/CD
📦 Up to 100k LOC

Learn more 👉 dcm.dev/pricing

08.08.2025 16:45 👍 0 🔁 0 💬 0 📌 0
Post image

If your #Flutter widget tree has a matching sequence of "Align", "Padding", "ClipPath", and others, it can often be replaced with a single "Container" widget.

Use the "prefer-container" rule to simplify the layout dcm.dev/docs/rules/f...

07.08.2025 13:20 👍 7 🔁 2 💬 0 📌 0
Video thumbnail

DCM 1.30.0 includes better baseline support in Dashboards! 🚀

✅ Toggle between open & baselined issues
✅ New Baseline tab for projects

🔗 Learn more in our blog: dcm.dev/blog/2025/07...

06.08.2025 19:20 👍 1 🔁 0 💬 0 📌 0
Preview
Navigating the Hard Parts of Testing in Flutter | DCM - Code Quality Tool for Flutter Developers A deep dive into advanced Flutter testing techniques: learn to handle edge cases, simulate time, test responsive layouts, mock platform plugins, and achieve reliable coverage with practical examples.

Our new article covers the hard parts of #Flutter testing including:

✅ testing timers,
✅ mocking platform plugins,
✅ responsive UI,
✅ and even CustomPainter logic.

Learn more to level up your testing with practical examples 👇
dcm.dev/blog/2025/07...

30.07.2025 18:21 👍 4 🔁 0 💬 0 📌 0
Post image

💡 Why removing commented-out-code matters?

✅ It often hides unfinished work or dead logic
✅ Adds noise and confusion for other devs
✅ Git handles history anyway

Learn more → dcm.dev/docs/rules/c...

28.07.2025 11:41 👍 1 🔁 0 💬 0 📌 0
avoid-unnecessary-gesture-detector (Rules of the Week)
avoid-unnecessary-gesture-detector (Rules of the Week) YouTube video by DCM Analyzer

👀 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

25.07.2025 08:42 👍 0 🔁 0 💬 0 📌 0
Post image

🚀 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/f...

23.07.2025 20:55 👍 3 🔁 0 💬 0 📌 0
Post image

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/f...

21.07.2025 13:35 👍 2 🔁 0 💬 0 📌 0