bonga_chat 1.0.2+1 copy "bonga_chat: ^1.0.2+1" to clipboard
bonga_chat: ^1.0.2+1 copied to clipboard

outdated

DialAfrika ChatSDK.


Bonga Chat SDK #

The Bonga Chat SDK is a Flutter package that provides a convenient way to integrate Bonga Chat into your Flutter applications.

Installation #

To use the Bonga Chat SDK in your Flutter project, follow these steps:

  1. Add the package to your pubspec.yaml file:

    dependencies:
      bonga_chat_sdk: ^1.0.2+1
    
  2. Run flutter pub get to fetch the package and update your dependencies.

Usage #

To integrate Bonga Chat into your app using the Bonga Chat SDK, follow these steps:

  1. Import the necessary classes:

    import 'package:bonga_chat_sdk/bonga_chat_sdk.dart';
    
  2. Use the HomePage widget from the Bonga Chat SDK in your app:

    home: HomePage(
      apiKey: 'YOUR_API_KEY',
      greeting: 'Hello',
      message: 'How can I assist you?',
    ),
    

    Replace 'YOUR_API_KEY' with your Bonga Chat API key.

Example #

Here's an example of how to integrate Bonga Chat into your Flutter app using the Bonga Chat SDK:

import 'package:flutter/material.dart';
import 'package:bonga_chat_sdk/bonga_chat_sdk.dart';

void main() {
  runApp(MyApp());
}

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Bonga Chat Example',
      home: HomePage(
        apiKey: 'YOUR_API_KEY',
        greeting: 'Hello',
        message: 'How can I assist you?',
      ),
    );
  }
}

Requirements #

  • Flutter 2.0 or newer
  • Bonga Chat API key

Support #

For any issues or questions regarding the Bonga Chat SDK, please contact our support team at info@dialafrika.com.


1
likes
0
points
2
downloads

Publisher

unverified uploader

Weekly Downloads

DialAfrika ChatSDK.

Homepage

License

unknown (license)

Dependencies

cupertino_icons, flutter, flutter_inappwebview, platform, webview_flutter

More

Packages that depend on bonga_chat