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.
-
Add the dependency to your project's
pubspec.yaml.yamldependencies:
flutter:
sdk: flutter
ai_nexconn_chat_plugin: ^26.2.0tipThe current local Flutter SDK package version is
26.2.0. Update the version inpubspec.yamlonly when you intentionally upgrade the SDK baseline. -
Run
flutter pub getin your project directory to download the plugin. -
Import the package.
Dartimport 'package:ai_nexconn_chat_plugin/ai_nexconn_chat_plugin.dart';