animated_rating_feedback 0.1.0
animated_rating_feedback: ^0.1.0 copied to clipboard
A Flutter package to create animated feedback rating systems with emojis, icons, and dynamic feedback options. Includes text-to-speech (TTS) functionality.
π¦ animated_feedback_rating with TTS π #
A customizable Flutter package to create animated feedback rating systems with TTS (Text-to-Speech) functionality. π€
Supports emoji, icons, dynamic feedback options, and smooth animations β¨.
βοΈ How It Works #
The AnimatedFeedbackRating widget provides an easy-to-use interface to collect ratings and short feedback from users.
Once a rating is selected (e.g., star, smiley, heart, etc.), Text-to-Speech (TTS) functionality speaks the selected rating and feedback aloud.
Key Features: #
- β Different rating types (star, smiley, thumb, heart, etc.).
- π Short, predefined feedback options after selecting a rating.
- π€ Text-to-Speech functionality to speak feedback and rating choices.
- π Fully customizable with smooth animations and easy integration.
- π¨ Controller-based architecture for simple state management.
- π₯ Easy integration into your Flutter projects.
β¨ Features #
- β Cascading rating types: Star, Smiley, Thumb, Heart, etc.
- π€ Text-to-Speech (TTS) functionality to speak ratings and feedback.
- π Select feedback with smooth animations.
- β Single & multi-selection support for feedback options.
- β "Add Other" option for user-defined entries of icons.
- π§ Controller-based architecture for simple and clean state management.
- π οΈ Minimal setup with flexible data models.
πΈ Screenshots #
-
Rating Screen:

-
Feedback Options:

-
Customizable UI:

βΆ Demo Video #
Check out the demo videos to see the package in action:
This video demonstrates the Text-to-Speech (TTS) feature in action with Star rating.
π Getting Started #
Add this dependency to your pubspec.yaml:
dependencies:
animated_feedback_rating: ^0.1.0 # Latest version of the package
flutter_tts: ^4.2.2 # Text-to-Speech functionality for speaking feedback and ratings aloud
---
flutter pub get
---
π οΈ How to Use
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')],
},
);
---
- Use the Widget
AnimatedFeedbackRating<String>(
controller: controller,
)
--
π Made with Flutter π

