nps_plugin 0.2.0 copy "nps_plugin: ^0.2.0" to clipboard
nps_plugin: ^0.2.0 copied to clipboard

A Flutter component that presents Net Promoter Score (NPS) survey.

NPS Plugin #

License: MIT


A Flutter package 💙 100% native to display a review collection in style NPS (Net Promoter Score).

This package allows you to show a modal with a rating scale of 0 to 10, as well as optional fields for feedback and phone number. It is compatible with web, desktop and mobile platforms, and also supports the dark theme.

Installation #

To use this package, add nps_plugin as a dependency in your pubspec.yaml file.

flutter pub add nps_plugin

Then import the package into your code:

import 'package:nps_plugin/nps_plugin.dart';

How to use #

Here is a basic example of how to use the package to display the NPS rating modal:

await npsStart(
  context,
  npsTitle: 'So far, how likely are you to recommend the ',
  owner: 'Flutter',
  feedbackTitle: 'Leave your feedback',
  showInputPhone: false,
);

You can customize the title, system or company name, and other settings as needed.

Compatibilities #

This package is compatible with the following platforms:

  • Mobile (Android and iOS)
  • Desktop (Windows, macOS and Linux)
  • Web

Dark Theme #

Compatibility with Flutter's dark theme. It automatically adjusts to your app's theme.

Material 2 e 3 #

Compatibility with versions 2 and 3 of Google Material.

Contributions and Problems #

This package is open source and you are encouraged to report problems or submit suggestions for improvements via issues on GitHub Issues.

License #

This package is distributed under the MIT License. See the LICENSE file for details.

4
likes
140
pub points
53%
popularity

Publisher

unverified uploader

A Flutter component that presents Net Promoter Score (NPS) survey.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

flutter

More

Packages that depend on nps_plugin