FeedbackFormConfig constructor

const FeedbackFormConfig({
  1. String title = 'Feedback Form',
  2. String nameLabel = 'Name',
  3. String emailLabel = 'Email',
  4. String feedbackLabel = 'Your Feedback',
  5. String ratingLabel = 'Rating',
  6. String attachButtonLabel = 'Attach Screenshots / Photos',
  7. String submitButtonLabel = 'Submit',
  8. InputDecoration? nameFieldDecoration,
  9. InputDecoration? emailFieldDecoration,
  10. InputDecoration? feedbackFieldDecoration,
  11. ButtonStyle? submitButtonStyle,
  12. ButtonStyle? attachButtonStyle,
})

Implementation

const FeedbackFormConfig({
  this.title = 'Feedback Form',
  this.nameLabel = 'Name',
  this.emailLabel = 'Email',
  this.feedbackLabel = 'Your Feedback',
  this.ratingLabel = 'Rating',
  this.attachButtonLabel = 'Attach Screenshots / Photos',
  this.submitButtonLabel = 'Submit',
  this.nameFieldDecoration,
  this.emailFieldDecoration,
  this.feedbackFieldDecoration,
  this.submitButtonStyle,
  this.attachButtonStyle,
});