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

Chat Kit base on YunXin IM.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add nim_chatkit

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

dependencies:
  nim_chatkit: ^1.2.0

Alternatively, your editor might support 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/message_dynamic_result.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';