AdRatingBarView constructor

AdRatingBarView({
  1. EdgeInsets? padding,
  2. EdgeInsets? margin,
  3. AdDecoration? decoration,
  4. double? width,
  5. double? height,
  6. double? elevation,
  7. Color? elevationColor,
  8. double? stepSize,
  9. Color? starsColor,
})

Implementation

AdRatingBarView({
  EdgeInsets? padding,
  EdgeInsets? margin,
  AdDecoration? decoration,
  double? width,
  double? height,
  double? elevation,
  Color? elevationColor,
  // rating
  this.stepSize,
  this.starsColor,
}) : super(
        viewType: 'rating_bar',
        padding: padding,
        margin: margin,
        decoration: decoration,
        width: width ?? WRAP_CONTENT,
        height: height ?? WRAP_CONTENT,
        elevation: elevation,
        elevationColor: elevationColor,
      );