The app prototyping logic in Firebase Studio isn't wired up for Flutter/Dart yet. You can play with Gemini+Dart/Flutter here: https://dartpad.dev/?channel=main.
We're working with the Firebase Studio team to integrate. FWIW, it seems to do fairly well with "Create a chess clock app".
But try this:
Open up a blank Flutter template in Studio: https://studio.firebase.google.com/new/flutter
After everything initializes and your Android and web previews set up, open chat by clicking the little Gemini spark at the bottom of the workspace and then add your prompt.
YMMV, but I got a very basic, but working chess clock in one shot with "Can you replace this sample Flutter project with a fully-functional chess clock that works on Android and on the web?"
To make sure I tried 3 times in a row. Same result.
I feel like in the emperors new clothes story.
Gemini actually dug me out of it, though, with additional prompting (this kind of surprised me; I assumed I’d have to eventually really step in). After all that distraction, though, I had to reset the convo to get it to focus on the files again.
Totally understand that you might be too annoyed at this point, but if you do have a few minutes, it’d be amazing to file a case @ https://firebase.google.com/support/troubleshooter/studio for the team to dig into.
It broke more and more each message. I tried fixing stuff myself but it would mess it up again. Would not recommend anyone to use it.
Now for the non ai part: super cool. I love the nix environment. Its fascinating how they handle the previews for example. I got geekbench up and running an the cpu is a bit worse than an iphone 15 pro max, but it has 32 gigs of ram!