animated_rating_feedback 0.0.2 copy "animated_rating_feedback: ^0.0.2" to clipboard
animated_rating_feedback: ^0.0.2 copied to clipboard

A Flutter package to create animated feedback rating systems, with support for emojis, icons, and dynamic feedback options. It also includes text-to-speech (TTS) functionality to speak ratings and f [...]

📦 animated_feedback_rating with TTS 🔊 #

A beautiful, animated Flutter package to collect ratings and short feedback easily with TTS!🔊 Supports emoji, icons, and dynamic feedback options with smooth animations ✨


✨ Features #

  • ⭐ Different rating types (star, smiley, thumb, heart, etc.)
  • 📝 Short, predefined feedback options after selecting a rating
  • 🌟 Simple controller and model-based structure
  • 🎨 Fully custoflutter pub loginmizable
  • 📱 Smooth animations
  • 🔥 Easy integration -🎤 Text to Speech (TTS) functionality to speak feedback and rating choices

📸 Screenshot

[Screenshot 2] [Screenshot 3] [Screenshot 4]

▶ Demo Video

Check out the demo videos for the package:

Video 1: Animated Feedback Rating Demo #

Watch the video

Video 2: Flutter TTS with Feedback Rating #

Watch the video

This video demonstrates the Text to Speech feature in action with Star. #

🚀 Getting Started #

Add dependency in your pubspec.yaml:

dependencies:
  animated_feedback_rating: ^0.0.2

Then run:

flutter pub get

🛠️ How to Use #

1. Initialize Controller #

final controller = RatingController<String>(
  ratingOptions: [
    RatingOption(id: '1', label: 'Terrible', value: 'terrible', emoji: '😞', icon: Icons.sentiment_very_dissatisfied),
    RatingOption(id: '2', label: 'Bad', value: 'bad', emoji: '😟', icon: Icons.sentiment_dissatisfied),
    RatingOption(id: '3', label: 'Okay', value: 'okay', emoji: '😐', icon: Icons.sentiment_neutral),
    RatingOption(id: '4', label: 'Good', value: 'good', emoji: '😊', icon: Icons.sentiment_satisfied),
    RatingOption(id: '5', label: 'Excellent', value: 'excellent', emoji: '😍', icon: Icons.sentiment_very_satisfied),
  ],
  feedbackOptionsMap: {
    '1': [FeedbackItem(id: 'f1', text: 'Not helpful'), FeedbackItem(id: 'f2', text: 'Too slow')],
    '5': [FeedbackItem(id: 'f3', text: 'Excellent help!'), FeedbackItem(id: 'f4', text: 'Very fast')],
  },
);

2. Use Widget #

AnimatedFeedbackRating<String>(
  controller: controller,
)

RatingController #

  • ratingOptions → List of selectable rating options
  • feedbackMap → Map of feedback options based on rating
  • setRating, toggleFeedback, clear

RatingOption #

  • id, label, value, emoji, icon

FeedbackItem #

  • id, text

📹 Video Demo #

(Optional: Add video URL after you record!)


🤝 Contributing #

Pull requests are welcome!
Feel free to open an issue if you find a bug or want a feature!


📄 License #

This project is licensed under the MIT License.


🚀 Made with Flutter ❤️ #

0
likes
0
points
20
downloads

Publisher

verified publisherinnoventixsolutions.com

Weekly Downloads

A Flutter package to create animated feedback rating systems, with support for emojis, icons, and dynamic feedback options. It also includes text-to-speech (TTS) functionality to speak ratings and feedback selections.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_tts

More

Packages that depend on animated_rating_feedback