Installation
Add the Dependency
Run this command in your project directory:
shell
flutter pub add crisp_chatOr manually add it to your pubspec.yaml:
yaml
dependencies:
crisp_chat: ^2.4.5Then run:
shell
flutter pub getImport
Add the import to any Dart file where you want to use the plugin:
dart
import 'package:crisp_chat/crisp_chat.dart';This single import gives you access to all classes: FlutterCrispChat, CrispConfig, User, Company, Employment, GeoLocation, and SessionEventColor.
Uninstall
To remove the plugin:
shell
flutter pub remove crisp_chatOr manually remove crisp_chat from your pubspec.yaml and run flutter pub get.
WARNING
After removing the plugin, make sure to remove all import 'package:crisp_chat/crisp_chat.dart' statements and any usage of the plugin's classes from your code.
Next Steps
After installing the package, you need to configure platform-specific settings for Android and iOS. See Platform Setup.
