Option constructor

const Option({
  1. int? defaultRating,
  2. int maxRating = 10,
  3. String defaultReview = "",
  4. String skipButtonText = "Skip",
  5. String submitButtonText = "Submit",
  6. String reviewFieldHint = "Tell us here",
  7. String ratringsBottomText2 = "Yes, Definitely",
  8. String ratringsBottomText1 = "Not at all",
  9. Alignment headerTextAlignment = Alignment.center,
  10. String reviewFieldHeader = "We would love to improve on your suggestion.",
  11. String ratingHeader = "How likely are you to rate this app?",
  12. bool isDismissible = true,
  13. bool hideSuggestionField = false,
  14. bool hideRatingBottomText = false,
  15. ButtonStyle? skipButtonStyle,
  16. ButtonStyle? submitButtonStyle,
  17. TextStyle? submitButtonTextStyle,
  18. TextStyle? ratingHeaderTextStyle,
  19. TextStyle? ratingbottomTextStyle,
  20. TextStyle? reviewHeaderTextStyle,
  21. TextStyle? reviewfieldTextStyle,
  22. TextStyle? reviewFieldHintTextStyle,
  23. Color? backgroundColor,
  24. ShapeBorder? shape,
  25. RatingButtonThemeData? ratingButtonTheme,
})

Implementation

const Option({
  this.defaultRating,
  this.maxRating = 10,
  this.defaultReview = "",
  this.skipButtonText = "Skip",
  this.submitButtonText = "Submit",
  this.reviewFieldHint = "Tell us here",
  this.ratringsBottomText2 = "Yes, Definitely",
  this.ratringsBottomText1 = "Not at all",
  this.headerTextAlignment = Alignment.center,
  this.reviewFieldHeader = "We would love to improve on your suggestion.",
  this.ratingHeader = "How likely are you to rate this app?",
  this.isDismissible = true,
  this.hideSuggestionField = false,
  this.hideRatingBottomText = false,
  this.skipButtonStyle,
  this.submitButtonStyle,
  this.submitButtonTextStyle,
  this.ratingHeaderTextStyle,
  this.ratingbottomTextStyle,
  this.reviewHeaderTextStyle,
  this.reviewfieldTextStyle,
  this.reviewFieldHintTextStyle,
  this.backgroundColor,
  this.shape,
  this.ratingButtonTheme,
  // this.ratingButtonBuilder
});