diff --git a/lib/smooth_star_rating.dart b/lib/smooth_star_rating.dart index 3de2e40..a9239e9 100644 --- a/lib/smooth_star_rating.dart +++ b/lib/smooth_star_rating.dart @@ -20,7 +20,7 @@ class SmoothStarRating extends StatelessWidget { final double spacing; SmoothStarRating({ this.starCount = 5, - this.spacing, + this.spacing=0.0, this.rating = 0.0, this.defaultIconData, this.onRatingChanged,