nim_chatkit_location 9.7.0 nim_chatkit_location: ^9.7.0 copied to clipboard
Chat UI base on ChatKit.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add nim_chatkit_location
With Flutter:
$ flutter pub add nim_chatkit_location
This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get
):
dependencies:
nim_chatkit_location: ^9.7.0
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_chatkit_location/chat_kit_location.dart';
import 'package:nim_chatkit_location/chat_kit_message_location_item.dart';
import 'package:nim_chatkit_location/chatkit_location_provider_impl.dart';
import 'package:nim_chatkit_location/l10n/S.dart';
import 'package:nim_chatkit_location/l10n/chatLocation_localization/chat_kit_location_client_localizations.dart';
import 'package:nim_chatkit_location/l10n/chatLocation_localization/chat_kit_location_client_localizations_en.dart';
import 'package:nim_chatkit_location/l10n/chatLocation_localization/chat_kit_location_client_localizations_zh.dart';
import 'package:nim_chatkit_location/location_map_page.dart';