nim_chatkit 1.0.0
nim_chatkit: ^1.0.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.0.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/extension.dart';
import 'package:nim_chatkit/repo/chat_message_repo.dart';
import 'package:nim_chatkit/repo/chat_service_observer_repo.dart';