Skip to content
pubscout

rating_dialog

2.0.4, released 5 years ago by stackwares.com

A customizable Star Rating Dialog package for Flutter

WASM-ready
$ flutter pub add rating_dialog
Source repository

What it does

Provides a customizable star rating dialog widget that can be displayed using Flutter's showDialog function. It allows users to submit a star rating and an optional comment.

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

Use it when

  • You need to ask users for a rating and review inside your app
  • You want a pre-built dialog with a star rating bar, title, message, and comment input

Skip it when

  • You need a embedded inline rating widget instead of a dialog
  • You require complex custom form elements beyond a star rating and text comment

Strengths

  • Customizable appearance including star size and button text
  • Supports all platforms supported by Flutter
  • Built-in handling for validation (disables submit when rating is zero)

Weaknesses

  • Limited to a dialog format
  • Relies on showDialog rather than a standalone form widget

Setup

Kind
Flutter widgets
Effort
Low
Code generation
No
Direct dependencies
1
final _dialog = RatingDialog(
  initialRating: 1.0,
  title: Text('Rating Dialog'),
  message: Text('Tap a star to set your rating.'),
  image: const FlutterLogo(size: 100),
  submitButtonText: 'Submit',
  onSubmitted: (response) {
    print('rating: ${response.rating}, comment: ${response.comment}');
  },
);
showDialog(
  context: context,
  barrierDismissible: true,
  builder: (context) => _dialog,
);

Alternatives

Packages that do the same job and could replace rating_dialog.

  • rating_bar

    A customizable Flutter rating bar supporting half stars, precise fractional values, custom items and RTL layouts.

  • tutorial_coach_mark

    Presents your app and its features using customizable guides and focused highlights.

  • ticketcher

    Create ticket-style cards, boarding passes, and coupons with custom notches, borders, and dividers.

  • sn_progress_dialog

    Customizable progress dialog package for Flutter that captures the progress value.

Works with

Packages commonly used together with rating_dialog: ones it builds on, ones built on it, and its own family.