sy_im_flutter_sdk 0.5.1
sy_im_flutter_sdk: ^0.5.1 copied to clipboard
SY IM Flutter SDK. Versioned pub.dev package over flutter_openim_sdk for login, messages, receipts, and groups.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add sy_im_flutter_sdkThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
sy_im_flutter_sdk: ^0.5.1Alternatively, 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:sy_im_flutter_sdk/im_control_plane.dart';
import 'package:sy_im_flutter_sdk/openim_adapter.dart';
import 'package:sy_im_flutter_sdk/sy_im.dart';
import 'package:sy_im_flutter_sdk/sy_im_group_read.dart';
import 'package:sy_im_flutter_sdk/sy_im_unread.dart';