Skip to content

Files

Latest commit

14bb9a5 · Mar 12, 2024

History

History

flutter_application_gemini

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
Feb 28, 2024
Feb 28, 2024
Feb 28, 2024
Feb 28, 2024
Mar 12, 2024
Feb 28, 2024
Feb 28, 2024
Feb 28, 2024
Feb 28, 2024
Feb 28, 2024
Feb 28, 2024
Feb 28, 2024
Feb 28, 2024
Feb 28, 2024
Feb 28, 2024
Feb 28, 2024

README.md

Flutter 应用中使用 Gemini API

指导文章

https://ducafecat.com/blog/flutter-gemini-ai-integration

环境说明

❯ flutter --version
Flutter 3.16.8 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 67457e669f (6 周前) • 2024-01-16 16:22:29 -0800
Engine • revision 6e2ea58a5c
Tools • Dart 3.2.5 • DevTools 2.28.5

运行项目

gemini aip key 环境变量方式

flutter run -d [DEVICE NAME] --dart-define=API_KEY=[YOUR API KEY]