give-star-reviews

A package for giving reviews for the things.

give-star-reviews

Getting Started

dependencies:
  givestarreviews: ^1.0.2
YAML
$  flutter pub get
Console
import  'package:givestarreviews/givestarreviews.dart';
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) {}),
 ],
),
Dart

Single

StarRating(onChanged: (rate) {}),
Dart

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.

GitHub

https://github.com/buraktabn/give-star-reviews