nim_chatkit 9.7.0 copy "nim_chatkit: ^9.7.0" to clipboard
nim_chatkit: ^9.7.0 copied to clipboard

Chat Kit base on YunXin IM.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add nim_chatkit

With Flutter:

 $ flutter pub add nim_chatkit

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  nim_chatkit: ^9.7.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:nim_chatkit/chatkit.dart';
import 'package:nim_chatkit/chatkit_client_repo.dart';
import 'package:nim_chatkit/chatkit_location_provider.dart';
import 'package:nim_chatkit/extension.dart';
import 'package:nim_chatkit/location.dart';
import 'package:nim_chatkit/message/merge_message.dart';
import 'package:nim_chatkit/message/message_dynamic_result.dart';
import 'package:nim_chatkit/message/message_helper.dart';
import 'package:nim_chatkit/message/message_reply_info.dart';
import 'package:nim_chatkit/message/message_revoke_info.dart';
import 'package:nim_chatkit/repo/chat_message_repo.dart';
import 'package:nim_chatkit/repo/chat_service_observer_repo.dart';