FeedbackStrings constructor

const FeedbackStrings({
  1. String pageTitle = 'Send Feedback',
  2. String feedbackInputLabel = 'Your feedback',
  3. String feedbackInputHint = 'Tell us what you think...',
  4. String feedbackInputValidationError = 'Please enter your feedback.',
  5. String submitButtonLabel = 'Submit',
  6. String sentSuccessfully = 'Thank you for your feedback!',
  7. String sendError = 'Something went wrong. Please try again later.',
  8. String nameLabel = 'Name (Optional)',
  9. String nameHint = 'Enter your name',
  10. String emailLabel = 'Email (Optional)',
  11. String emailHint = 'Enter your email',
  12. String attachmentLabel = 'Attach a file (Optional)',
  13. String attachFileLabel = 'Attach File',
  14. String removeAttachment = 'Remove Attachment',
  15. String emailValidationError = 'Please enter a valid email.',
})

Implementation

const FeedbackStrings({
  this.pageTitle = 'Send Feedback',
  this.feedbackInputLabel = 'Your feedback',
  this.feedbackInputHint = 'Tell us what you think...',
  this.feedbackInputValidationError = 'Please enter your feedback.',
  this.submitButtonLabel = 'Submit',
  this.sentSuccessfully = 'Thank you for your feedback!',
  this.sendError = 'Something went wrong. Please try again later.',
  this.nameLabel = 'Name (Optional)',
  this.nameHint = 'Enter your name',
  this.emailLabel = 'Email (Optional)',
  this.emailHint = 'Enter your email',
  this.attachmentLabel = 'Attach a file (Optional)',
  this.attachFileLabel = 'Attach File',
  this.removeAttachment = 'Remove Attachment',
  this.emailValidationError = 'Please enter a valid email.',
});