SlideRatingDialog constructor

const SlideRatingDialog({
  1. Key? key,
  2. required dynamic onRatingChanged(
    1. int value
    )?,
  3. String title = "Rating",
  4. String subTitle = "How was your experience with us?",
  5. Color buttonColor = Colors.deepPurpleAccent,
  6. Color backgroundColor = Colors.white,
  7. Color foregroundColor = Colors.black,
  8. Widget? pointerWidget,
  9. List<double>? positionList,
  10. double? opacity,
  11. double? yOffset,
  12. bool cancelButton = true,
  13. required dynamic buttonOnTap()?,
  14. Color? ratingBarBackgroundColor = const Color(0xFFF1F5F8),
  15. String buttonTitle = "Submit",
})

Implementation

const SlideRatingDialog(
    {Key? key,
    required this.onRatingChanged,
    this.title = "Rating",
    this.subTitle = "How was your experience with us?",
    this.buttonColor = Colors.deepPurpleAccent,
    this.backgroundColor = Colors.white,
    this.foregroundColor = Colors.black,
    this.pointerWidget,
    this.positionList,
    this.opacity,
    this.yOffset,
    this.cancelButton = true,
    required this.buttonOnTap,
    this.ratingBarBackgroundColor = const Color(0xFFF1F5F8),
    this.buttonTitle = "Submit"})
    : super(key: key);