RatingBarIndicator constructor
const
RatingBarIndicator({
- Key? key,
- required IndexedWidgetBuilder itemBuilder,
- TextDirection? textDirection,
- Color? unratedColor,
- Axis direction = Axis.horizontal,
- int itemCount = 5,
- EdgeInsets itemPadding = EdgeInsets.zero,
- double itemSize = 40.0,
- ScrollPhysics physics = const NeverScrollableScrollPhysics(),
- 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,
});