netease_corekit_im 1.1.2 copy "netease_corekit_im: ^1.1.2" to clipboard
netease_corekit_im: ^1.1.2 copied to clipboard

Core IM components for IM flutter.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add netease_corekit_im

With Flutter:

 $ flutter pub add netease_corekit_im

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

dependencies:
  netease_corekit_im: ^1.1.2

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:netease_corekit_im/im_kit_client.dart';
import 'package:netease_corekit_im/model/contact_info.dart';
import 'package:netease_corekit_im/model/team_models.dart';
import 'package:netease_corekit_im/repo/config_repo.dart';
import 'package:netease_corekit_im/repo/misc_repo.dart';
import 'package:netease_corekit_im/router/imkit_router.dart';
import 'package:netease_corekit_im/router/imkit_router_constants.dart';
import 'package:netease_corekit_im/router/imkit_router_factory.dart';
import 'package:netease_corekit_im/service_locator.dart';
import 'package:netease_corekit_im/services/contact/contact_provider.dart';
import 'package:netease_corekit_im/services/contact/contact_provider_impl.dart';
import 'package:netease_corekit_im/services/login/login_service.dart';
import 'package:netease_corekit_im/services/login/login_service_impl.dart';
import 'package:netease_corekit_im/services/message/chat_message.dart';
import 'package:netease_corekit_im/services/message/message_provider.dart';
import 'package:netease_corekit_im/services/message/message_provider_impl.dart';
import 'package:netease_corekit_im/services/team/team_provider.dart';
import 'package:netease_corekit_im/services/team/team_provider_impl.dart';
import 'package:netease_corekit_im/services/user_info/user_info_provider.dart';
import 'package:netease_corekit_im/services/user_info/user_info_provider_impl.dart';
import 'package:netease_corekit_im/utils/preference_utils.dart';