0 purchases
custom rating bar
custom_rating_bar #
Custom rating bar for flutter with support of: custom icons, half icons, directions, alignments & more.
Getting Started #
How to use #
import 'package:custom_rating_bar/custom_rating_bar.dart';
copied to clipboard
Basic widget
RatingBar(
filledIcon: Icons.star,
emptyIcon: Icons.star_border,
onRatingChanged: (value) => debugPrint('$value'),
initialRating: 3,
maxRating: 5,
)
copied to clipboard
Read only widget
RatingBar.readOnly(
filledIcon: Icons.star,
emptyIcon: Icons.star_border,
initialRating: 4,
maxRating: 5,
)
copied to clipboard
Examples #
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.