搜尋套件、儲存庫與 APP 分類

GitHub 儲存庫tariqjamel/Flutter-Chat-Bot

Flutter-Chat-Bot

一個基於 Flutter 的 AI 聊天機器人,支援透過文字、語音和影像進行互動。具備即時聊天、語音轉文字、文字轉語音及基於影像的查詢功能,搭配動態 Lottie 開機畫面,提供流暢的使用者體驗。

Flutter-Chat-Bot 專案封面
星標
16
分支
5
最近推送(UTC)
2026年1月29日
專案狀態
未封存

原始 README

以下為英文專案原文快照,最新內容請造訪 GitHub。

Flutter-Chat-Bot Application (Premium Glassmorphism)

This is a premium, AI-powered chatbot application built with Flutter. It features a stunning Glassmorphic UI and integrates Gemini AI for a seamless conversational experience using text, voice, and images.

✨ Features

  • Premium Glassmorphism UI: A modern, translucent design with real-time blur and vibrant gradients.
  • Gemini AI Integration: Powered by Google's Gemini 1.5 Flash for intelligent text and image processing.
  • Voice Mode: High-fidelity voice interaction with real-time waveform animation and text-to-speech.
  • Multi-modal Input: seamlessly switch between typing, voice recognition, and image-based queries.
  • Session History: Persistence-ready chat sessions managed via a robust history manager.
  • Modular Architecture: Clean, maintainable codebase with extracted services and reusable components.

🏗️ Technical Architecture

The project follows a modular design to ensure high maintainability and scalability:

  • Services Layer:

    • GeminiService.dart: Centralized API logic for streaming responses and handling multi-modal inputs.
    • HistoryManager.dart: Manages local storage and session persistence.
  • Component library (lib/components/):

    • AppGlassContainer: Reusable glassmorphic styling engine.
    • ChatBubble: Advanced message rendering with sender-specific gradients.
    • ChatInput: Complex state-managed input controller for text, media, and voice.
    • AnimatedOrb: High-performance visual feedback for AI states.

📸 Screenshots

🚀 Tech Stack

  • Framework: Flutter
  • AI Engine: Google Gemini
  • State Management: StatefulWidget + Listeners
  • Key Packages:
    • flutter_gemini (AI Logic)
    • glassmorphism (UI Core)
    • speech_to_text & flutter_tts (Voice)
    • dash_chat_2 (Chat Framework)
    • lottie (Animations)

🛠️ Getting Started

  1. Clone the repository
  2. Add your Gemini API Key in lib/const.dart:
    const String GEMINI_API_KEY = "YOUR_API_KEY_HERE";
    
  3. Run the app:
    flutter run
    

📜 Permissions

  • Microphone: For voice-to-text functionality.
  • Storage/Gallery: To upload and analyze images with Gemini.

🤝 Contributing

Contributions are welcome! If you have ideas for new glassmorphic components or AI features, feel free to fork and PR.

Tariq Jamil GitHub avatar
GitHub 作者

Tariq Jamil ↗

Android + Embedded developer: Writing code that speaks both human and machine languages.

Islamabad, Pakistan官方網站 ↗
語言DartC++CMakeSwiftCHTMLKotlinObjective-C

分類

使用的依賴

依賴清單 21 項

如何選擇適合專案的儲存庫?

先依使用情境篩選,再比較專案活躍情況,最後到原始儲存庫確認使用要求。

  1. 透過儲存庫名稱、作者或描述搜尋,再依技術分類縮小範圍。
  2. 綜合星標、分支與最近推送比較專案;星標反映社群關注,不保證品質。
  3. 使用前在 GitHub 確認 README、授權條款與 Issues。

來源與維護

“A repository is the most basic element of GitHub.”

GitHub Docs — About repositories ↗