DDSFeedbackPopUpVariant3 constructor

const DDSFeedbackPopUpVariant3({
  1. Key? key,
  2. String feedbackTitle = 'How would you rate our app experience?',
  3. String primaryButtonLabel = 'I love it!',
  4. String secondaryButtonLabel = "No Thanks!",
  5. VoidCallback? onPrimaryButtonPressed,
  6. VoidCallback? onSecondaryButtonPressed,
  7. double ratingSize = 42,
  8. Color ratingColor = const Color(0xFFFFC500),
  9. double initialRating = 5.0,
  10. Color? ratingBorderColor,
  11. double ratingEndIndent = 0.0,
  12. double ratingWidth = 1.0,
  13. double ratingHeight = 1.0,
  14. int ratingCount = 5,
  15. bool allowHalfRating = true,
  16. IconData? ratingFilledIcon,
  17. IconData? ratingHalfFilledIcon,
  18. IconData? ratingEmptyIcon,
  19. MainAxisAlignment mainAxisAlignment = MainAxisAlignment.center,
  20. ValueChanged<double>? onRatingChanged,
  21. required String logoImageLink,
  22. LogoType logoType = LogoType.circle,
  23. CircleLogoSize? logoSize = CircleLogoSize.large,
  24. double logoWidth = 56,
  25. double logoHeight = 56,
})

Implementation

const DDSFeedbackPopUpVariant3({
  Key? key,
  this.feedbackTitle = 'How would you rate our app experience?',
  this.primaryButtonLabel = 'I love it!',
  this.secondaryButtonLabel = "No Thanks!",
  this.onPrimaryButtonPressed,
  this.onSecondaryButtonPressed,
  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,
  required this.logoImageLink,
  this.logoType = LogoType.circle,
  this.logoSize = CircleLogoSize.large,
  this.logoWidth = 56,
  this.logoHeight = 56,
}) : super(key: key);