A customizable Rating Bar for flutter with half rating support
Add this to your package's pubspec.yaml file
dependencies: ... rating_bar: ^latest.version.here
First import paging.dart
onRatingChanged callback returns current rating which is a double,
when the rating has changed.
RatingBar( onRatingChanged: (rating) => setState(() => _rating = rating), filledIcon: Icons.star, emptyIcon: Icons.star_border, halfFilledIcon: Icons.star_half, isHalfAllowed: true, filledColor: Colors.green, emptyColor: Colors.redAccent, halfFilledColor: Colors.amberAccent, size: 48, ),