RatingBarIndicator constructor

const RatingBarIndicator({
  1. Key? key,
  2. required IndexedWidgetBuilder itemBuilder,
  3. TextDirection? textDirection,
  4. Color? unratedColor,
  5. Axis direction = Axis.horizontal,
  6. int itemCount = 5,
  7. EdgeInsets itemPadding = EdgeInsets.zero,
  8. double itemSize = 40.0,
  9. ScrollPhysics physics = const NeverScrollableScrollPhysics(),
  10. double rating = 0.0,
})

Implementation

const RatingBarIndicator({super.key,
  required this.itemBuilder,
  this.textDirection,
  this.unratedColor,
  this.direction = Axis.horizontal,
  this.itemCount = 5,
  this.itemPadding = EdgeInsets.zero,
  this.itemSize = 40.0,
  this.physics = const NeverScrollableScrollPhysics(),
  this.rating = 0.0,
});