INNER CODE UNIT · Dart
RatingBar
sarbagyastha/flutter_rating_bar · lib/src/rating_bar.dart:35
class RatingBar extends StatefulWidget {
/// Creates [RatingBar] using the [ratingWidget].
const RatingBar({
/// Customizes the Rating Bar item with [RatingWidget].
required RatingWidget ratingWidget,
required this.onRatingUpdate,
this.glowColor,
this.maxRating,
this.textDirection,
this.unratedColor,
this.allowHalfRating = false,
this.direction = Axis.horizontal,
this.glow = true,
this.glowRadius = 2,
this.ignoreGestures = false,
this.initialRating = 0.0,
this.itemCount = 5,
this.itemPadding = EdgeInsets.zero,