<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Codexlancers</title>
    <description>The latest articles on DEV Community by Codexlancers (@codexlancers).</description>
    <link>https://dev.to/codexlancers</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3857287%2Fa8e4508f-a0b0-447b-a06a-9bc5efa2ebf5.jpeg</url>
      <title>DEV Community: Codexlancers</title>
      <link>https://dev.to/codexlancers</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/codexlancers"/>
    <language>en</language>
    <item>
      <title>Rating and Feedback Collector</title>
      <dc:creator>Codexlancers</dc:creator>
      <pubDate>Mon, 27 Apr 2026 12:30:00 +0000</pubDate>
      <link>https://dev.to/codexlancers/rating-and-feedback-collector-46i1</link>
      <guid>https://dev.to/codexlancers/rating-and-feedback-collector-46i1</guid>
      <description>&lt;p&gt;``&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frv9v763dl1zkc42clhwc.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Frv9v763dl1zkc42clhwc.png" alt=" " width="720" height="240"&gt;&lt;/a&gt;&lt;br&gt;
&lt;strong&gt;Introduction&lt;/strong&gt;&lt;br&gt;
User feedback collection cannot be overemphasized, therefore, if an app is to grow in both quality and satisfaction, The package offers a developer versatile solutions into making bars rated with icons, emojis, and even custom images. Further, this allows dynamic feedback alerts, hence allowing the user to include as much detail in their feedback as possible and rate your app. This will walk you through the setup and usage of this package, hence you can make full use of its features.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Key Features&lt;/strong&gt;&lt;br&gt;
&lt;strong&gt;Custom Icon Rating:&lt;/strong&gt; Use any icon to represent rating units.&lt;br&gt;
&lt;strong&gt;Smiley Emojis Rating:&lt;/strong&gt; Default emoji images to express ratings.&lt;br&gt;
&lt;strong&gt;Custom Image Rating:&lt;/strong&gt; Use your custom images for ratings.&lt;br&gt;
&lt;strong&gt;Feedback Alert Box for Low Ratings&lt;/strong&gt;: Prompt users to provide feedback if they rate low.&lt;br&gt;
&lt;strong&gt;Redirect to Store for High Ratings:&lt;/strong&gt; Redirect users to the app store for a review if they rate high.&lt;br&gt;
&lt;strong&gt;Customizable UI &amp;amp; Contents:&lt;/strong&gt; Fully customizable to fit your app’s theme.&lt;br&gt;
&lt;strong&gt;Submission Callback:&lt;/strong&gt; Get feedback data with a callback function.&lt;br&gt;
&lt;strong&gt;Installation&lt;/strong&gt;&lt;br&gt;
First, add the rating_and_feedback_collector package to your pubspec.yaml file:&lt;/p&gt;

&lt;p&gt;&lt;code&gt;`yaml&lt;br&gt;
dependencies:&lt;br&gt;
  rating_and_feedback_collector: ^0.0.2&lt;br&gt;
`&lt;/code&gt;&lt;br&gt;
Then, run &lt;strong&gt;pub get&lt;/strong&gt; to fetch the package.&lt;br&gt;
Importing the Package&lt;br&gt;
Next, import the package into your Dart file:&lt;/p&gt;

&lt;p&gt;`&lt;code&gt;&lt;/code&gt;dart&lt;br&gt;
import 'package:rating_and_feedback_collector/rating_and_feedback_collector.dart';&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&lt;/code&gt;`&lt;br&gt;
&lt;strong&gt;Usage&lt;/strong&gt;&lt;br&gt;
Here are examples of how to use the package’s main features:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Rating Bar with Icons&lt;/strong&gt;&lt;br&gt;
The RatingBar widget allows you to use icons to represent ratings. You can customize the icons, their size, colors, and whether half ratings are allowed.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;`dart&lt;br&gt;
double _rating = 0.0;&lt;br&gt;
RatingBar(&lt;br&gt;
  iconSize: 40, // Size of the rating icons&lt;br&gt;
  allowHalfRating: true, // Allows selection of half ratings&lt;br&gt;
  filledIcon: Icons.star, // Icon for a filled rating unit&lt;br&gt;
  halfFilledIcon: Icons.star_half, // Icon for a half-filled rating unit&lt;br&gt;
  emptyIcon: Icons.star_border, // Icon for an empty rating unit&lt;br&gt;
  filledColor: Colors.amber, // Color of filled rating units&lt;br&gt;
  emptyColor: Colors.grey, // Color of empty rating units&lt;br&gt;
  currentRating: _rating, // Set initial rating value&lt;br&gt;
  onRatingChanged: (rating) { // Callback triggered when the rating is changed&lt;br&gt;
    setState(() { _rating = rating; });&lt;br&gt;
  },&lt;br&gt;
),&lt;br&gt;
`&lt;/code&gt;&lt;br&gt;
Rating Bar with Emoji Images&lt;br&gt;
The RatingBarEmoji widget uses default emoji images to represent ratings.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;`dart&lt;br&gt;
double _rating = 0.0;&lt;br&gt;
RatingBarEmoji(&lt;br&gt;
  imageSize: 45, // Size of image in the rating bar&lt;br&gt;
  currentRating: _rating, // Set initial rating value&lt;br&gt;
  onRatingChanged: (rating) { // Callback triggered when the rating is changed&lt;br&gt;
    setState(() { _rating = rating; });&lt;br&gt;
  },&lt;br&gt;
),&lt;br&gt;
`&lt;/code&gt;&lt;br&gt;
Rating Bar with Custom Images&lt;br&gt;
The RatingBarCustomImage widget allows you to use custom images for different rating levels.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;`dart&lt;br&gt;
double _rating = 0.0;&lt;br&gt;
RatingBarCustomImage(&lt;br&gt;
  imageSize: 45, // Size of image in the rating bar&lt;br&gt;
  currentRating: _rating, // Set initial rating value&lt;br&gt;
  activeImages: const [&lt;br&gt;
    AssetImage('assets/Images/ic_angry.png'),&lt;br&gt;
    AssetImage('assets/Images/ic_sad.png'),&lt;br&gt;
    AssetImage('assets/Images/ic_neutral.png'),&lt;br&gt;
    AssetImage('assets/Images/ic_happy.png'),&lt;br&gt;
    AssetImage('assets/Images/ic_excellent.png'),&lt;br&gt;
  ],&lt;br&gt;
  deActiveImages: const [&lt;br&gt;
    AssetImage('assets/Images/ic_angryDisable.png'),&lt;br&gt;
    AssetImage('assets/Images/ic_sadDisable.png'),&lt;br&gt;
    AssetImage('assets/Images/ic_neutralDisable.png'),&lt;br&gt;
    AssetImage('assets/Images/ic_happyDisable.png'),&lt;br&gt;
    AssetImage('assets/Images/ic_excellentDisable.png'),&lt;br&gt;
  ],&lt;br&gt;
  onRatingChanged: (rating) { // Callback triggered when the rating is changed&lt;br&gt;
    setState(() { _rating = rating; });&lt;br&gt;
  },&lt;br&gt;
),&lt;br&gt;
`&lt;/code&gt;&lt;br&gt;
&lt;strong&gt;Customization Properties&lt;/strong&gt;&lt;br&gt;
The package offers various properties to customize the rating bar and feedback dialog:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;currentRating (double):&lt;/strong&gt; Set initial rating value&lt;br&gt;
&lt;strong&gt;filledIcon (only for RatingBar) (IconData?):&lt;/strong&gt; Icon for a filled rating unit&lt;br&gt;
&lt;strong&gt;halfFilledIcon (only for RatingBar) (IconData?):&lt;/strong&gt; Icon for a half-filled rating unit&lt;br&gt;
&lt;strong&gt;emptyIcon (only for RatingBar) (IconData?):&lt;/strong&gt; Icon for an empty rating unit&lt;br&gt;
&lt;strong&gt;filledColor (only for RatingBar) (Color?):&lt;/strong&gt; Color of filled rating units&lt;br&gt;
&lt;strong&gt;emptyColor (only for RatingBar) (Color?):&lt;/strong&gt; Color of empty rating units&lt;br&gt;
&lt;strong&gt;iconSize (double?):&lt;/strong&gt; Size of the rating icons&lt;br&gt;
&lt;strong&gt;onRatingChanged (Function(double)):&lt;/strong&gt; Callback triggered when the rating is changed&lt;br&gt;
&lt;strong&gt;allowHalfRating (only for RatingBar) (bool?):&lt;/strong&gt; Allows selection of half ratings&lt;br&gt;
&lt;strong&gt;isGoogleFont (bool?):&lt;/strong&gt; Set to true for using Google fonts&lt;br&gt;
&lt;strong&gt;fontFamilyName (String?):&lt;/strong&gt; Custom font family name or Google font family name&lt;br&gt;
&lt;strong&gt;showFeedbackForRatingsLessThan (double?):&lt;/strong&gt; Threshold rating value below which feedback box is shown&lt;br&gt;
&lt;strong&gt;feedbackBoxTitle (String?):&lt;/strong&gt; Title for the feedback box&lt;br&gt;
&lt;strong&gt;lowRatingFeedbackTitle (String?):&lt;/strong&gt; Title for feedback options in the low rating feedback box&lt;br&gt;
&lt;strong&gt;lowRatingFeedback (List?):&lt;/strong&gt; List of feedback strings for low ratings&lt;br&gt;
&lt;strong&gt;showDescriptionInput (bool?):&lt;/strong&gt; Option to show input box for user descriptions in the feedback dialog&lt;br&gt;
&lt;strong&gt;descriptionTitle (String?):&lt;/strong&gt; Title for the description input box in the feedback dialog&lt;br&gt;
&lt;strong&gt;descriptionPlaceHolder (String?):&lt;/strong&gt; Placeholder text for the description input box&lt;br&gt;
&lt;strong&gt;descriptionCharacterLimit (int?):&lt;/strong&gt; Character limit for the description input&lt;br&gt;
&lt;strong&gt;submitButtonTitle (String?):&lt;/strong&gt; Title for the submit button in the feedback dialog&lt;br&gt;
&lt;strong&gt;onSubmitTap (Function(selectedFeedback, description)):&lt;/strong&gt; Callback function triggered on submission of feedback&lt;br&gt;
&lt;strong&gt;showRedirectToStoreForRatingsGreaterThan (double?):&lt;/strong&gt; Threshold rating value above which the app redirects to the store for a review&lt;br&gt;
&lt;strong&gt;androidPackageName (String?):&lt;/strong&gt; Android package name for the app, used in the store redirect&lt;br&gt;
&lt;strong&gt;iosBundleId (String?):&lt;/strong&gt; iOS bundle ID for the app, used in the store redirect&lt;br&gt;
&lt;strong&gt;innerWidgetsBorderRadius (double?): **Border radius for the feedback dialog widgets&lt;br&gt;
**alertDialogBorderRadius (double?): **Border radius for the feedback dialog&lt;br&gt;
**Conclusion&lt;/strong&gt;&lt;br&gt;
Rating_and_feedback_collector Package is the optimal solution for adding highly flexible rating bars and in-app feedback alerts into your Flutter app.&lt;br&gt;
By incorporating this package you can raise user’s interest, collect useful feedback and eventually boost your app’s ratings in the store. Include this package into your app and enjoy its flexible and user-friendly elements.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdm9zq7of4917vem5asnl.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fdm9zq7of4917vem5asnl.png" alt=" " width="800" height="192"&gt;&lt;/a&gt;&lt;br&gt;
more information, check out the&lt;br&gt;
&lt;a href="https://pub.dev/packages/rating_and_feedback_collector" rel="noopener noreferrer"&gt;https://pub.dev/packages/rating_and_feedback_collector&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpebjfdns2ydlu0l7qjn0.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fpebjfdns2ydlu0l7qjn0.png" alt=" " width="640" height="640"&gt;&lt;/a&gt;&lt;br&gt;
&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7yrpgdiod4mnd7t3mizo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F7yrpgdiod4mnd7t3mizo.png" alt=" " width="640" height="640"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1e66zs65l7xtb47zqpal.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2F1e66zs65l7xtb47zqpal.png" alt=" " width="500" height="500"&gt;&lt;/a&gt;&lt;br&gt;
Thanks for reading! If you found this post useful, please share it with others in your network and follow me for more Flutter insights and tutorials. Keep coding and stay awesome!&lt;/p&gt;

</description>
      <category>showdev</category>
      <category>tutorial</category>
      <category>ui</category>
      <category>ux</category>
    </item>
  </channel>
</rss>
