smooth_rating_bar

Creator: coderz1093

Last updated:

0 purchases

smooth_rating_bar Image
smooth_rating_bar Images

Languages

Categories

Add to Cart

Description:

smooth rating bar

Smooth Flutter Rating Bar with SVG icons.




Android
iOS
Linux
macOS
Web
Windows




Support
SDK 16+
9.0+
Any
10.11+
Any
Windows 10+



Features #
Set your own design as rating icons and color them.
Usage #
To use this plugin, add smooth_rating_bar as a dependency in your pubspec.yaml file.
Then, you'll have to add to assets the corresponding files to full icon, half full icon, and empty icon:
assets:
- assets/star/star.svg
- assets/star/star_half.svg
- assets/star/star_border.svg
- assets/star/star_empty_gray.svg
copied to clipboard

double rating = 3.0;

SmoothRatingBar(
rating: rating,
starSize: 50,
starCount: 5,
color: Colors.yellow,
borderColor: Colors.yellow,
starPadding: const EdgeInsets.symmetric(horizontal: 7),
onRatingCallback: (value) {
setState(() {
rating = value;
});
},
),
copied to clipboard

License

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.