flutter-gemini
使用 Flutter + Riverpod 与 Gemini 对话 ⚡️
- 星标
- 1
- 复刻
- 0
- 最近推送(UTC)
- 2024年10月18日
- 项目状态
- 未归档
原始 README
以下为英文项目原文快照,最新内容请访问 GitHub。
Gemini Chat
A flutter app that showing the usage of flutter_gemini, built with Riverpod.
Demo Apps
https://github.com/user-attachments/assets/0fe84872-e47c-4673-8904-02e9f56dec80
Notes
While you developing, make sure you run :
- Head to the Google AI and get the API key.
- Copy the .env.example to .env and paste the key to
GEMINI_AI_TOKEN - Run
dart run build_runner watchin terminal to automatically build the freezed class from model. - Run the app
语言DartRubySwiftKotlinObjective-C
分类
使用的依赖
依赖清单 20 项
- cupertino_icons
^1.0.6 - flutter
{"sdk":"flutter"} - flutter_dotenv
^5.1.0 - flutter_gemini
^2.0.5 - flutter_markdown
^0.7.3+1 - flutter_riverpod
^2.5.1 - freezed_annotation
^2.4.1 - go_router
^14.1.4 - image_picker
^1.1.2 - json_annotation
^4.9.0 - riverpod_annotation
^2.3.5 - shared_preferences
^2.2.3 - build_runner开发依赖
^2.4.9 - custom_lint开发依赖
^0.6.4 - flutter_lints开发依赖
^3.0.0 - flutter_test开发依赖
{"sdk":"flutter"} - freezed开发依赖
^2.5.2 - json_serializable开发依赖
^6.8.0 - riverpod_generator开发依赖
^2.4.0 - riverpod_lint开发依赖
^2.3.10
如何选择适合项目的代码仓?
先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
- 通过仓库名、作者或描述搜索,再按技术分类缩小范围。
- 结合星标、复刻与最近推送比较项目;星标反映社区关注,不代表质量保证。
- 使用前在 GitHub 核对 README、许可证与 Issues。
来源与维护
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗