Loading video...
Video Failed to Load
Open-source Flutter + Google AI Dart SDK project alert ๐จ To try out the new Google AI package announced last week, I built a fun AI photo scavenger hunt application over the weekend! The game is simple: - Choose your hunting location - Gemini generates 5 items that you... show more
18,186 views โข 2 years ago โขvia X (Twitter)
10 Comments

Last week @FlutterDev team announced the Google AI Dart SDK - a package that simplifies the access to Gemini models for your Flutter apps and Dart applications. The package is published on and already gained some traction:

I have never used AI in my Flutter apps before (directly, not via some kind of back-end API), so it was a great chance to try out the waters. As a result, a new fun game was born and the code is available here:

Launch the project, play with prompts and other app settings, and create pull requests for new features. We still do not have that many learning resources for the new Dart AI package, so I am thrilled to be able to contribute to the ecosystem ๐ช CC: @KhanhNwin @craig_labenz

What are your thoughts about the new package? Have you tried it already? Share your insights and let me know! โ๏ธ

Any possible feature ideas where AI could help for your app? ๐

*Psst*, a video about the journey of creating the app is already out! ๐

I wish i could come up with such creative ideas... nice one... ๐ฅ๐ฅ

You can generate ideas using the same Gemini model as well... Just saying ๐

That looks so fun! How was the implementation of the AI?

Had to go back and forth with the prompt until I got quite consistent results in the format I expect. Other than that - similar as calling any other API via HttpClient ๐คทโโ๏ธ


