flutter_gemini_bot 0.0.4 copy "flutter_gemini_bot: ^0.0.4" to clipboard
flutter_gemini_bot: ^0.0.4 copied to clipboard

create a customizable chatbot easily and quickly with flutter

Flutter Gemini Bot #

License GitHub pull request check state logo

Description #

flutter_gemini_bot is a package that allows you to easily create a chat bot application in Flutter. It is built on top of the Gemini API.

#

mobile view desktop view

Table of Contents #

Features #

This package provides a FlutterGeminiChat widget that you can use to create a chat bot interface in your Flutter application.

Getting Started #

To use this package, you will need:

  • A list of ChatModel objects representing the chat messages or sessions
  • An API key for authenticating with the chat bot service To use the Gemini API, you'll need an API key. If you don't already have one, create a key in Google AI Studio. Get an API key.

Usage #

Here is an example of how to use the FlutterGeminiChat widget:

Get the package #

flutter pub add flutter_gemini_bot

Use the package #

List<ChatModel> chatList = []; // Your list of ChatModel objects
String apiKey = 'your_api_key'; // Your API key

FlutterGeminiChat(
  chatContext: 'example_context',
  chatList: chatList,

  apiKey: apiKey,
),

Contributing #

This project is open source and we welcome contributions. Please feel free to submit a pull request or open an issue.

License #

This project is licensed under the MIT License.

11
likes
145
points
43
downloads

Publisher

verified publisherdevpea.com

Weekly Downloads

create a customizable chatbot easily and quickly with flutter

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, http

More

Packages that depend on flutter_gemini_bot