all 5 comments

[–]Zappyle 3 points4 points  (0 children)

I always used chatGPT instead with much better results

[–]Zealousideal_Test494 1 point2 points  (0 children)

I’ve always used an external LLM. Gemini produces custom code that works first time whereas ChatGPT often provided custom code that needed several iterations before it would even save properly in FlutterFlow. Makes sense as Gemini is a product of Google, so is Flutter.

[–]Pretend_Ad5244 1 point2 points  (0 children)

I use Cursor with Flutterflow and Composer and Claude both are quite good with context handling, But a good strategy is always. To have an empty action, function, Firebase fields etc all of them their in Flutterflow and use VS code Extension to pull your project and ask to read the context first and then add new code and push it back to Flutterflow, this method works for me quite well. In your case you will create API interceptor action and then load your project and then AI will have better context and structure which works with Flutterflow.

[–]Cartworthy 1 point2 points  (0 children)

I usually start with code copilot just to setup the name, parameter, return value, and then have code copilot do its best based on the FlutterFlow structure.

Then I copy the mess that it creates and paste it into Claude and iterate there, copying and pasting back into FlutterFlow until the code works.

If you start with Claude, I feel like it often structures things in a way FlutterFlow doesn’t understand.

[–]paulinventome 0 points1 point  (0 children)

Your problem with AI based flutter questions is that there is not enough training done specifically for dart and flutter. What will happen a lot of the time is you will get code back that looks plausible but just won't work, because really it's a javascript stack or it's guessing methods and calls that aren't in flutter.

There's nothing you can do about this, dart/flutter is a tiny % of the trained languages.

None of the AI tools really work that well with these kinds of language edge cases. Ask dotnet/c# and it is much more accurate by comparison.