RatingBar constructor
Implementation
const RatingBar({super.key,
required this.rating,
this.size = 30,
this.activeColor = Colors.black54,
this.inactiveColor = Colors.grey,
}) : assert(rating >= 0 && rating <= 5);
const RatingBar({super.key,
required this.rating,
this.size = 30,
this.activeColor = Colors.black54,
this.inactiveColor = Colors.grey,
}) : assert(rating >= 0 && rating <= 5);