Installation
Add the Dependency
Run this command in your project directory:
flutter pub add crisp_chatOr manually add it to your pubspec.yaml:
dependencies:
crisp_chat: ^2.7.0For Web and desktop targets:
- Enable platforms if needed:
flutter create . --platforms=web,macos,windows,linux - No extra native Crisp SDK install
- See Platform Setup and Supported Platforms for WebView2, WebKitGTK, and macOS entitlements
For optional iOS video/audio calls (CrispWebRTC SDK, build-time opt-in):
- See Enable video calls (iOS only)
- Not required for standard chat; Android native video is not supported yet by Crisp
Then run:
flutter pub getImport
Add the import to any Dart file where you want to use the plugin:
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:
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, configure settings for your targets (Android, iOS, Web, desktop). See Platform Setup.