Getting Started

Ebbot Flutter UI is a Flutter UI widget for implementing the Ebbot chat bot. This widget encapsulates the logic in the ebbot_dart_client package and provides a drop-in ready solution for rendering an Ebbot Chat in your Flutter App.

Table of Contents

Prerequisites

Before getting started, ensure you have:

  • Flutter SDK >=3.2.6 <4.0.0

  • A valid Ebbot bot ID

  • Access to the Ebbot Flutter UI repository

Installation

1. Add the dependency

Add ebbot_flutter_ui to your project's pubspec.yaml file:

2. Install the package

Run the following command in your terminal:

3. Import the package

In your Dart file, import the library:

Basic Implementation

Here's a minimal example to get you started:

Running your app

After implementing the code above, run your app:

You should now see the Ebbot chat interface integrated into your application.

Demo Application

A complete example application is available in two locations:

  1. In this repository: Check the example/ directory for a fully functional demo app

  2. Standalone repository: https://github.com/ebbot-ai/ebbot_flutter_ui_demo

The example demonstrates:

  • Basic setup and configuration

  • Multiple environment configurations

  • User attribute passing

  • Custom callbacks

  • Multi-page integration

Next Steps

Now that you have the basic implementation working, explore these topics:

For a complete implementation example with all features, see the Advanced Configuration guide.

Last updated