FLUTTER ECOSYSTEM

googleai_dart

Unofficial Dart client for Google AI Gemini and Vertex AI Gemini REST APIs plus Live API WebSocket sessions.

Latest version
6.3.0
30-day downloads
4K
Likes
27
Pub points
160

Package Overview

Selection guidance generated from public package information. For reference only.

Overview

The googleai_dart package is an unofficial Dart client that provides access to Google AI Gemini and Vertex AI REST APIs, along with support for real-time WebSocket sessions. It enables developers to integrate generative AI capabilities into Flutter applications across multiple platforms. The package simplifies API interactions with clean, structured methods for sending prompts, handling responses, and managing streaming data via WebSockets. Designed for ease of use, it supports both synchronous and asynchronous workflows, making it ideal for chat interfaces, content generation, and AI-powered features in mobile and web apps.

Use cases
  • Integrating Gemini AI into Flutter apps
  • Building real-time chat interfaces
  • Generating text and code with AI
  • Implementing AI-driven content suggestions
  • Creating multilingual translation tools
  • Enabling voice-to-text AI processing
Key features
  • Support for Gemini and Vertex AI REST APIs
  • Real-time WebSocket streaming
  • Cross-platform compatibility
  • Simple API interface
  • Async and sync request handling
  • Built-in error and response parsing
Suitable for
  • Flutter developers using AI features
  • Apps requiring real-time AI responses
  • Projects integrating Google's generative AI
  • Developers building chatbots or assistants
  • Teams working on multilingual or content-heavy apps
Considerations
  • Unofficial package – not endorsed by Google
  • Requires valid API keys
  • Limited documentation compared to official SDKs
  • May need updates for new API versions
  • WebSocket connection management required
Supported platformsAndroidiOSWebmacOSWindowsLinux

Install package

flutter pub add googleai_dart

Categories

Related projects

No data available yet.