Skip to content
pubscout

flutter_rating

2.0.2, released 3 years ago by unicorn.games

A customizable star rating widget for Flutter.

WASM-ready
$ flutter pub add flutter_rating
Source repository

What it does

Provides a star rating UI that supports full and half stars, customizable icons, and color options. It handles user interaction and exposes a callback for rating changes.

AI-written summary of version 2.0.2, based on the package's README and metadata. Report an inaccuracy

Use it when

  • Implementing rating UI in apps
  • Collecting user feedback with star scales
  • Adding review components to product pages

Skip it when

  • Building complex rating systems with multiple criteria
  • Needing advanced animation or gesture handling beyond stars

Strengths

  • Highly customizable icons and colors
  • Half-star support via long press
  • Null safety and modern Dart support

Weaknesses

  • Limited to star-based ratings only
  • No built-in animation or gesture customization beyond default

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
StarRating(
  rating: 3.5,
  allowHalfRating: true,
  onRatingChanged: (rating) => setState(() => this.rating = rating),
)

Alternatives

Packages that do the same job and could replace flutter_rating.