DDSFeedbackPopUpVariant2 constructor

const DDSFeedbackPopUpVariant2({
  1. Key? key,
  2. String feedbackTitle = 'Rate us!',
  3. String feedbackDescription = 'How would you love this app?',
  4. String buttonLabel = 'No Thanks!',
  5. VoidCallback? onButtonPressed,
  6. double ratingSize = 42,
  7. Color ratingColor = const Color(0xFFFFC500),
  8. double initialRating = 5.0,
  9. Color? ratingBorderColor,
  10. double ratingEndIndent = 0.0,
  11. double ratingWidth = 1.0,
  12. double ratingHeight = 1.0,
  13. int ratingCount = 5,
  14. bool allowHalfRating = true,
  15. IconData? ratingFilledIcon,
  16. IconData? ratingHalfFilledIcon,
  17. IconData? ratingEmptyIcon,
  18. MainAxisAlignment mainAxisAlignment = MainAxisAlignment.center,
  19. ValueChanged<double>? onRatingChanged,
})

Implementation

const DDSFeedbackPopUpVariant2({
  Key? key,
  this.feedbackTitle = 'Rate us!',
  this.feedbackDescription = 'How would you love this app?',
  this.buttonLabel = 'No Thanks!',
  this.onButtonPressed,
  this.ratingSize = 42,
  this.ratingColor = const Color(0xFFFFC500),
  this.initialRating = 5.0,
  this.ratingBorderColor,
  this.ratingEndIndent = 0.0,
  this.ratingWidth = 1.0,
  this.ratingHeight = 1.0,
  this.ratingCount = 5,
  this.allowHalfRating = true,
  this.ratingFilledIcon,
  this.ratingHalfFilledIcon,
  this.ratingEmptyIcon,
  this.mainAxisAlignment = MainAxisAlignment.center,
  this.onRatingChanged,
}) : super(key: key);