CreatePoll constructor
const
CreatePoll({
- Key? key,
- String? title,
- String? user,
- String? group,
- dynamic onClose()?,
- int defaultAnswers = 2,
- String? questionPlaceholderText,
- String? answerPlaceholderText,
- String? answerHelpText,
- String? addAnswerText,
- Widget? deleteIcon,
- Widget? closeIcon,
- Widget? createPollIcon,
- CometChatTheme? theme,
- CreatePollsStyle? style,
Implementation
const CreatePoll(
{super.key,
this.title,
this.user,
this.group,
this.onClose,
this.defaultAnswers = 2,
this.questionPlaceholderText,
this.answerPlaceholderText,
this.answerHelpText,
this.addAnswerText,
this.deleteIcon,
this.closeIcon,
this.createPollIcon,
this.theme,
this.style});