FxCustomRating constructor

const FxCustomRating({
  1. Key? key,
  2. double? starSize = 24,
  3. double? starSpacing = 8,
  4. List<Color>? starColors,
  5. int initialRating = 5,
  6. required OnRatingChange onRatingChange,
  7. Color inactiveStarColor = Colors.grey,
  8. IconData activeIcon = Icons.star,
  9. IconData inActiveIcon = Icons.star_outline,
})

Implementation

const FxCustomRating(

    {Key? key,
    this.starSize = 24,
    this.starSpacing = 8,
    this.starColors,
    this.initialRating = 5,
    required this.onRatingChange,
    this.inactiveStarColor = Colors.grey,
    this.activeIcon = Icons.star,
    this.inActiveIcon = Icons.star_outline})
    : super(key: key);