flutter_gemini 3.0.0 copy "flutter_gemini: ^3.0.0" to clipboard
flutter_gemini: ^3.0.0 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);
  });
}
360
likes
160
points
4.32k
downloads
screenshot

Publisher

verified publisherbabakcode.com

Weekly Downloads

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