This repository provides the CustomerPulse Flutter Plugin for integrating UAE customer pulse functionality directly into your Flutter applications.
- Collect real-time user feedback.
- Easy integration with Flutter projects.
- Fully customizable feedback forms.
-
Add the following dependency to your
pubspec.yaml:dependencies: customer_pulse_flutter: ^latest_version
or use github link:
customerpulse_flutter: git: https://github.com/KalvadTech/CustomerPulse-flutter.git
-
Install the package:
flutter pub get
import 'package:customer_pulse_flutter/customer_pulse_flutter.dart';Use the following code to display the survey form in a full page:
CustomerPulseFlutter().showSurveyPage(
context,
appId: 'com.kalvad.example',
linkOrToken: 'F/AH/'
);Use the following code to display the survey form in a bottom sheet:
CustomerPulseFlutter().showSurveyBottomSheet(
context,
appId: 'com.kalvad.example',
linkOrToken: 'F/AH/'
);| Name | Type | Description | Default |
|---|---|---|---|
context |
BuildContext |
Widget context used for navigation | |
appId |
String |
Application ID provided by the Customer Pulse Survey provider | |
linkOrToken |
String |
Link ID or token provided by the Customer Pulse Survey provider | |
options |
Map<String, String> |
Options such as language (lang) for the survey |
CustomerPulseFlutter().showSurveyPage(
context,
appId: 'com.kalvad.example',
linkOrToken: 'F/AH/',
options: {'lang': 'en'}
);We welcome contributions! Feel free to submit issues or pull requests with improvements or bug fixes.
This project is licensed under the MIT License. See the LICENSE file for more details.