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

Smooth animated rating bar for customer and service feedback, equipped with customizable emotion and mood bars with emoji.

Animated feedback and mood rating bar #

Smooth animated rating bar for customer and service feedback, equipped with customizable emotion and mood bars. Create your unique rating bar with custom emojis, texts, ratings, sizes, and animations. Users can easily change the color of unselected items, providing them with greater control over their experience.

Usage #

Add this to your package's pubspec.yaml file:

dependencies:
  emoji_rating_bar: <latest-version>

Feedback Rating Bar #

service_feedback

EmojiRatingBar()

Mood Rating Bar #

moodbar

EmojiRatingBar(
  ratingBarType: RatingBarType.mood
)

Customise Rating Bar #

You can customize the rating bar by providing additional properties to the widget. For example:

EmojiRatingBar(
  rating: 2,
  onRateChange: (rating) {
    print(rating);
  },
  isReadOnly: false,
  spacing: 15,
  size: 40,
  selectedSize: 60,
  isShowTitle: true,
  isShowDivider: true,
  titleStyle: TextStyle(
    color: Colors.grey,
    fontSize: 8,
  ),
  selectedTitleStyle: TextStyle(
    color: Colors.black,
    fontSize: 12,
  ),
  animationDuration: Duration(milliseconds: 500),
  animationCurve: Curves.easeInOut,
  ratingBarType: RatingBarType.feedback,
  applyColorFilter : true 
)

Create Custom list #

To create a custom emoji list with your own images, you can use the following format:

[
  EmojiData(icStrong, "Strong", isPackageImg: true),  // If you use package asset images, you must pass isPackageImg as true
  EmojiData(
    "assets/ic_delighted.png",   // project asset images
    "Delighted")
]
5
likes
140
pub points
73%
popularity

Publisher

unverified uploader

Smooth animated rating bar for customer and service feedback, equipped with customizable emotion and mood bars with emoji.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-2-Clause (LICENSE)

Dependencies

flutter, plugin_platform_interface

More

Packages that depend on emoji_rating_bar