nim_searchkit 1.2.0 nim_searchkit: ^1.2.0 copied to clipboard
Search Kit base on YunXin IM.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add nim_searchkit
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
nim_searchkit: ^1.2.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_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';