flutter_rating
2.0.2, released 3 years ago by unicorn.games
A customizable star rating widget for Flutter.
WASM-ready
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.
- flutter_speed_dial
Flutter plugin to implement a Material Design Speed Dial with labels and animated icons.
92Compare - flutter_smart_dialog
An elegant Flutter dialog, toast, and loading solution without needing BuildContext.
91Compare - webview_flutter
Flutter plugin that embeds a native WebView widget.
87Compare - calendar_view
A Flutter package providing multiple calendar views and event management functionality.
83Compare