DDSFeedbackPopUpVariant3 constructor
const
DDSFeedbackPopUpVariant3({
- Key? key,
- String feedbackTitle = 'How would you rate our app experience?',
- String primaryButtonLabel = 'I love it!',
- String secondaryButtonLabel = "No Thanks!",
- VoidCallback? onPrimaryButtonPressed,
- VoidCallback? onSecondaryButtonPressed,
- double ratingSize = 42,
- Color ratingColor = const Color(0xFFFFC500),
- double initialRating = 5.0,
- Color? ratingBorderColor,
- double ratingEndIndent = 0.0,
- double ratingWidth = 1.0,
- double ratingHeight = 1.0,
- int ratingCount = 5,
- bool allowHalfRating = true,
- IconData? ratingFilledIcon,
- IconData? ratingHalfFilledIcon,
- IconData? ratingEmptyIcon,
- MainAxisAlignment mainAxisAlignment = MainAxisAlignment.center,
- ValueChanged<
double> ? onRatingChanged, - required String logoImageLink,
- LogoType logoType = LogoType.circle,
- CircleLogoSize? logoSize = CircleLogoSize.large,
- double logoWidth = 56,
- 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);