MRatingItem constructor

const MRatingItem({
  1. Key? key,
  2. double rating = 4.5,
  3. TextStyle? textStyle,
  4. EdgeInsetsGeometry? padding,
  5. double size = 18.0,
  6. bool ignoreGestures = true,
  7. bool oneStar = true,
  8. required dynamic onRatingUpdate(
    1. double value
    ),
})

Implementation

const MRatingItem({
  super.key,
  this.rating = 4.5,
  this.textStyle,
  this.padding,
  this.size = 18.0,
  this.ignoreGestures = true,
  this.oneStar = true,
  required this.onRatingUpdate,
});