Option constructor
const
Option({
- int? defaultRating,
- int maxRating = 10,
- String defaultReview = "",
- String skipButtonText = "Skip",
- String submitButtonText = "Submit",
- String reviewFieldHint = "Tell us here",
- String ratringsBottomText2 = "Yes, Definitely",
- String ratringsBottomText1 = "Not at all",
- Alignment headerTextAlignment = Alignment.center,
- String reviewFieldHeader = "We would love to improve on your suggestion.",
- String ratingHeader = "How likely are you to rate this app?",
- bool isDismissible = true,
- bool hideSuggestionField = false,
- bool hideRatingBottomText = false,
- ButtonStyle? skipButtonStyle,
- ButtonStyle? submitButtonStyle,
- TextStyle? submitButtonTextStyle,
- TextStyle? ratingHeaderTextStyle,
- TextStyle? ratingbottomTextStyle,
- TextStyle? reviewHeaderTextStyle,
- TextStyle? reviewfieldTextStyle,
- TextStyle? reviewFieldHintTextStyle,
- Color? backgroundColor,
- ShapeBorder? shape,
- 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
});