SlideRatingDialog constructor
const
SlideRatingDialog({
- Key? key,
- required dynamic onRatingChanged(
- int value
- String title = "Rating",
- String subTitle = "How was your experience with us?",
- Color buttonColor = Colors.deepPurpleAccent,
- Color backgroundColor = Colors.white,
- Color foregroundColor = Colors.black,
- Widget? pointerWidget,
- List<
double> ? positionList, - double? opacity,
- double? yOffset,
- bool cancelButton = true,
- required dynamic buttonOnTap()?,
- Color? ratingBarBackgroundColor = const Color(0xFFF1F5F8),
- 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);