Site icon Flutter Packages | Pub dev Packages – Flutter Mobile App World

A package for giving reviews for the things

give-star-reviews

A package for giving reviews for the things

Getting Started

dependencies:
  givestarreviews: ^1.0.2
$  flutter pub get
import  'package:givestarreviews/givestarreviews.dart';

Example

Multiple

GiveStarReviews(
  starData: [
    GiveStarData(text: 'Review 1', onChanged: (rate) {}),
    GiveStarData(text: 'Review 2', onChanged: null),
    GiveStarData(text: 'Review 3', starCount: 3, onChanged: (rate) {}),
 ],
),

Single

StarRating(onChanged: (rate) {}),

To make a read only StarRating, simply set the onChanged to null or leave empty.

Contributions

Contributions of any kind are more than welcome! Feel free to fork and improve in any way you want, make a pull request, or open an issue.

Download Flutter reviews Widget source code on GitHub

https://github.com/buraktabn/give-star-reviews
Exit mobile version