Gemini-Ai-ChatApp
Um aplicativo Flutter para conversar com IA usando a API do Google Gemini, com respostas em Markdown e modo escuro/claro.
- Estrelas
- 2
- Forks
- 0
- Último push (UTC)
- 17 de jun. de 2025
- Status do projeto
- Ativo
README original
Texto original em inglês. Visite o GitHub para a versão atual.
AI Chat App
Overview
AI Chat App is a Flutter-based application that interacts with the Google Gemini API. It supports both dark and light modes, allows you to clear current and new chats, and provides responses in Markdown format. The app also memorizes previous messages to maintain context.
Features
- Markdown Responses: Responses from the AI come in Markdown format.
- Message History: The app can remember previous messages.
- Dark Mode & Light Mode: Toggle between dark and light themes.
- Clear Chat: Option to clear current chat and start a new conversation.
Getting Started
To get started with the AI Chat App, follow these steps:
-
Clone the Repository:
git clone https://github.com/dizzpy/Gemini-Ai-ChatApp.git cd ai_chat_app -
Add Your Gemini API Key:
- Open
lib/const/api_key.dart. - Add your Gemini API key in the
apiKeyvariable.
final String apiKey = 'YOUR_GEMINI_API_KEY_HERE'; - Open
-
Install Dependencies:
flutter pub get -
Run the App:
flutter run
Usage
- Toggle Dark/Light Mode: Use the icon in the app bar to switch between dark and light themes.
- Start a New Chat: Use the "New Chat" button to clear the current chat and begin a new conversation.
- View Responses: Responses from the AI will be displayed in Markdown format.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Acknowledgements
Categorias
Dependências usadas
Lista de dependências 10 itens
- flutter
{"sdk":"flutter"} - shared_preferences
^2.0.15 - flutter_markdown
^0.7.3+1 - delightful_toast
^1.1.0 - flutter_svg
^2.0.10+1 - google_generative_ai
^0.4.6 - cupertino_icons
^1.0.2 - flutter_testDesenvolvimento
{"sdk":"flutter"} - flutter_lintsDesenvolvimento
^4.0.0 - flutter_launcher_iconsDesenvolvimento
^0.14.4
Como escolher um repositório para seu projeto?
Filtre pelo caso de uso, compare a atividade e confira o projeto original antes de adotá-lo.
- Busque por nome, autor ou descrição e filtre por tema.
- Compare estrelas, forks e envios recentes. Estrelas indicam interesse, mas não garantem qualidade.
- Confira o README, a licença e as issues no GitHub antes de usar o projeto.
Fontes e manutenção
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗