PollsConfiguration constructor

PollsConfiguration({
  1. CreatePollsStyle? createPollsStyle,
  2. PollsBubbleStyle? pollsBubbleStyle,
  3. CometChatTheme? theme,
  4. String? title,
  5. String? questionPlaceholderText,
  6. String? answerPlaceholderText,
  7. String? answerHelpText,
  8. String? addAnswerText,
  9. Widget? deleteIcon,
  10. Widget? closeIcon,
  11. Widget? createPollIcon,
  12. String? optionTitle,
  13. String? optionIconUrl,
  14. String? optionIconUrlPackageName,
  15. PollsOptionStyle? optionStyle,
})

Implementation

PollsConfiguration(
    {this.createPollsStyle,
    this.pollsBubbleStyle,
    this.theme,
    this.title,
    this.questionPlaceholderText,
    this.answerPlaceholderText,
    this.answerHelpText,
    this.addAnswerText,
    this.deleteIcon,
    this.closeIcon,
    this.createPollIcon,
    this.optionTitle,
    this.optionIconUrl,
    this.optionIconUrlPackageName,
    this.optionStyle});