flutter_ai_provider_gemini 0.1.4
flutter_ai_provider_gemini: ^0.1.4 copied to clipboard
Native Google Gemini LlmProvider for flutter_ai: streams streamGenerateContent (text, thinking, function calls, Google Search grounding citations) as flutter_ai_core AiStreamEvents over an injectable [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add flutter_ai_provider_geminiThis 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.4Alternatively, your editor might support dart 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';