stevenosse / flutter_emoji_feedback

A fully customizable widget to receive feedback from your users. Can be used to get user's mood or evaluate experience (and more !)
https://pub.dev/packages/flutter_emoji_feedback
MIT License
2 stars 6 forks source link
dart emoji flutter flutter-package

flutter_emoji_feedback

pub package

A fully customizable widget to receive feedback from your users. Can be used to get user's mood or evaluate experience (and more !)

πŸš€ Getting started

Install from pub :

$ flutter pub add flutter_emoji_feedback

πŸ“” Usage

Import flutter_emoji_feedback :

import 'package:flutter_emoji_feedback/flutter_emoji_feedback.dart';
EmojiFeedback(
  rating: 4, // Rating 
  animDuration: const Duration(milliseconds: 300), // Duration of the animation
  curve: Curves.bounceIn, // Curve of the animation
  inactiveElementScale: .5, // Scale of the inactive element
  onChanged: (value) { // Callback when the user change the value of the emoji
  },
  // Other parameters
);

πŸ“ License

This project is licensed under the MIT License - see the LICENSE file for details

πŸ“„ Changelog

See CHANGELOG.md for details.

πŸ“„ Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

πŸ“„ Contact

πŸ“„ Acknowledgments