Skip to content
pubscout

flutter_rating_stars

1.1.0, released 3 years ago by romanticdeveloper.com

A Flutter widget to create and display a rating stars bar with customizable size, colors, and axis.

WASM-ready
$ flutter pub add flutter_rating_stars
Source repository

What it does

Provides a RatingStars widget that renders customizable rating stars horizontally or vertically. It supports click interactions to change values, custom star builders, animations, and value label displays.

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

Use it when

  • You need to display item ratings in your app.
  • You need an interactive star rating bar for user reviews or inputs.

Skip it when

  • You need complex form validation integration beyond standard widget callbacks.

Strengths

  • Supports both horizontal and vertical orientations
  • Customizable star builders, colors, spacing, and rotation angles
  • Includes a built-in value label and click handling

Weaknesses

  • Limited to star-based ratings
  • No built-in form validation out of the box

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
0
RatingStars(
  value: 3.5,
  onValueChanged: (v) {
    setState(() {
      value = v;
    });
  },
  starCount: 5,
  starSize: 20,
  starColor: Colors.yellow,
  starOffColor: const Color(0xffe7e8ea),
)

Alternatives

Packages that do the same job and could replace flutter_rating_stars.