rate_in_stars 0.0.3 rate_in_stars: ^0.0.3 copied to clipboard
A Flutter package to rate items in stars. The stars can be editable if the user inputs the rating, or non editable if you only want to display the rating to the user. The stars colour and size can be [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add rate_in_stars
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
rate_in_stars: ^0.0.3
Alternatively, your editor might support flutter pub get
. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:rate_in_stars/rate_in_stars.dart';