corekit_im 1.0.0 copy "corekit_im: ^1.0.0" to clipboard
corekit_im: ^1.0.0 copied to clipboard

Core IM components for IM flutter.

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add corekit_im

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

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