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

Search Kit base on YunXin IM.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add nim_searchkit

With Flutter:

 $ flutter pub add nim_searchkit

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

dependencies:
  nim_searchkit: ^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:nim_searchkit/model/friend_search_info.dart';
import 'package:nim_searchkit/model/hit_type.dart';
import 'package:nim_searchkit/model/search_info.dart';
import 'package:nim_searchkit/model/team_search_info.dart';
import 'package:nim_searchkit/repo/search_repo.dart';
import 'package:nim_searchkit/repo/text_search.dart';
import 'package:nim_searchkit/searchkit.dart';
import 'package:nim_searchkit/searchkit_client_repo.dart';