gemini_ai 1.0.1 gemini_ai: ^1.0.1 copied to clipboard
Plugin for Google Gemini AI Library. You can add artificial intelligence capability to your Flutter application using the Gemini AI library.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add gemini_ai
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
gemini_ai: ^1.0.1
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:gemini_ai/gemini_ai.dart';