Skip to main content

Import the SDK

Requirements

  • Dart: ^3.7.2
  • Flutter: Use a Flutter SDK version compatible with Dart 3.7.2.

Install the SDK

The Chat SDK for Flutter is distributed as a plugin package that includes both the Dart layer and native Android and iOS platform code.

  1. Add the dependency to your project's pubspec.yaml.

    yaml
    dependencies:
    flutter:
    sdk: flutter

    ai_nexconn_chat_plugin: ^26.2.0
    tip

    The current local Flutter SDK package version is 26.2.0. Update the version in pubspec.yaml only when you intentionally upgrade the SDK baseline.

  2. Run flutter pub get in your project directory to download the plugin.

  3. Import the package.

    Dart
    import 'package:ai_nexconn_chat_plugin/ai_nexconn_chat_plugin.dart';