r/FlutterDev • u/___dash • Oct 28 '26
Discussion How are you using Claude in your Flutter/Dart workflows?
Hey everyone,
I’ve been a Flutter dev for about 4 years and recently picked up Claude Pro. So far I mostly use it for:
- Reviewing my code before opening a PR
- Generating commit messages and PR descriptions
- Minor debugging
- Writing emails
- Code refactoring
I’ve also been experimenting with vibe coding a few apps, and honestly I’m impressed. It picks up on my coding style and adapts to it surprisingly well, and it makes far fewer mistakes than I expected.
Still, I suspect I’m only scratching the surface. For those of you using Claude (or other AI tools) in Flutter work, what’s made the biggest difference? I’m thinking of things like widget/test generation, state management refactors, migrations, or specific prompting habits that work well with Dart.
Would love to hear your setups and workflows!
2
u/Elleo Oct 28 '26
I'm not
2
u/RajatKhoware Oct 28 '26
The useful split here is between what Claude drafts and what a human still has to verify. Codegen for boilerplate and tests is a clear win, but widget trees and state logic are where a confident wrong answer costs the most time. The workflow that holds up is Claude for the first pass, then a tight review of the files that touch state and navigation. Which part of your workflow do you still refuse to hand to Claude?
3
u/KOala888 Oct 28 '26
you are so late then
1
u/ObjectiveAddress3051 Oct 28 '26
a rules file in the repo helped more than any prompt trick imo. state management pick, folder layout, lint rules, no random packages. it stops the "which pattern is this now" drift. also let it run dart analyze and flutter test itself so it fixes real errors and doesn't guess at them.
3
u/alamakbusuk Oct 28 '26
We use it to connect to our jira, reads the ticket description and write automation tests. So far it worked very well for tickets with good descriptions.
We're also using it to write code for us but not 100%, more like something to throw the boring annoying stuff at.
2
u/bramantec Oct 29 '26
I build in FlutterFlow and Claude writes almost all of my custom Dart, so my setup is a bit different. What made the biggest difference is a handoff document I load at the start of every session together with a fresh export of the project: current versions, decisions already made, known limits and a changelog. Without it every session started from zero and the AI would happily reopen decisions I had already closed. The other half is a short list of rules, each written the day a mistake happened. Files are produced by editing the one in the export, never rewritten from memory. If I report the same symptom twice the source is stale and I export again instead of debugging. And nothing gets deployed until it's compared with what is running, because once a chat gave me my notification functions with the right names and empty bodies.
1
u/rmcassio Oct 28 '26
setting skills to tailor the code writing to my liking, automate test builds for qas, debugging, implement tracking events, creating sub tasks on the board, connecting all the mcps for the tools used on a daily basis
1
u/SerDim-dev Oct 28 '26
I run Claude Code with two agents in the same Flutter repo at once: before editing, each one claims files on a shared board.md, then logs what it changed and how it verified it (flutter analyze, targeted flutter test), and only one runs the full suite or the release build at a time. The biggest win was a CLAUDE.md with hard rules: the 25-language ARB files are edited by one agent at a time, nothing external (Play Console, Firebase deploy, commits) happens without my explicit "yes", and each agent commits only its own files. Beyond code it handles the boring launch work too: ARB translations, store listing texts, and screenshots and promo videos it records on the emulator via adb and cuts with ffmpeg.
1
u/Kingh32 Oct 29 '26
I think it’s really important to make a distinction between vibe coding; which was coined to imply a lean back experience when it comes to generating the code that gives you the thing you want, and AI-assisted software development, which is an entirely different thing that relies on software engineering fundamentals and can have you AI generate all of the code for whatever you’re working on in a way that is correct and that actually works. It’s also worth noting that having access to a robot that codes for you doesn’t mean you just do more coding. I have some examples:
Pulling the event data from our data warehouse and telling us what our users are doing so that we can work out which features/ interventions drive the outcomes we’re after. Can then build dashboards with charts and funnels helping us map out user data in relation to all the other event data and comms we do with the users of the apps we build. This makes it really easy to help decide what to build and monitor success.
Claude has access to our frontend, our backend, our design system via Paper (https://paper.design) and can link everything together in such a way that it gives you compelling insight into how your user actually experiences the app. Because the agent is aware of the wider context of the features I build, applies the correct events and properties to subsequent work too.
I also use it to implement features. The key is to give AI a bunch of constraints so that it _can’t_ do things that you don’t want it to. Things like lints, CI and even rules around which class name suffixes you can have, cyclomatic complexity and more. Whatever makes sense for your context. Then have it verify its work and show you proof that it built what you expected it to. Get it to add screenshots/ video of the flow built to the Pull requests it creates.
pstack has come with a lot of hype but I’ve found it to be a really useful way of getting good quality output via Claude without much supervision at all. Pair it with the wayfinder skill for if you’re doing something big and ambitious and you have a pretty robust way to execute the outcomes you’re after with AI.
1
u/kaporalix Nov 04 '26
To be honest since coding with Claude i don't see any reason for coding Apps with Flutter/Dart. I go native directly and that's why i don't see any future for flutter anymore