flutter_ai_provider_gemini 0.1.13 copy "flutter_ai_provider_gemini: ^0.1.13" to clipboard
flutter_ai_provider_gemini: ^0.1.13 copied to clipboard

Google Gemini LlmProvider for flutter_ai: streams text, thinking, function calls, and Google Search grounding citations as flutter_ai_core AiStreamEvents.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add flutter_ai_provider_gemini

With Flutter:

 $ flutter pub add flutter_ai_provider_gemini

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  flutter_ai_provider_gemini: ^0.1.13

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:flutter_ai_provider_gemini/flutter_ai_provider_gemini.dart';
0
likes
160
points
586
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Google Gemini LlmProvider for flutter_ai: streams text, thinking, function calls, and Google Search grounding citations as flutter_ai_core AiStreamEvents.

Homepage
Repository (GitHub)
View/report issues
Contributing

Topics

#ai #llm #gemini #chat #streaming

License

BSD-3-Clause (license)

Dependencies

fetch_client, flutter_ai_core, http

More

Packages that depend on flutter_ai_provider_gemini