flutter_gemini 3.0.0-dev.2 copy "flutter_gemini: ^3.0.0-dev.2" to clipboard
flutter_gemini: ^3.0.0-dev.2 copied to clipboard

Flutter Google Gemini SDK. Google Gemini is a set of cutting-edge large language models (LLMs) designed to be the driving force behind Google's future AI initiatives.

example/lib/main.dart

import 'package:flutter_gemini/flutter_gemini.dart';

const apiKey = 'AIza------tMww4--------------';
void main() {
  Gemini.init(apiKey: apiKey, enableDebugging: true);

  Gemini.instance.prompt(parts: [
    Part.text('Write a story about a magic backpack'),
  ]).then((value) {
    print(value?.output);
  });
}
346
likes
150
pub points
96%
popularity
screenshot

Publisher

verified publisherbabakcode.com

Flutter Google Gemini SDK. Google Gemini is a set of cutting-edge large language models (LLMs) designed to be the driving force behind Google's future AI initiatives.

Repository (GitHub)
View/report issues

Topics

#gemini #ai #google-gemini #flutter-gemini

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

dio, mime

More

Packages that depend on flutter_gemini