CometChatPollsBubble constructor

const CometChatPollsBubble({
  1. Key? key,
  2. String? loggedInUser,
  3. String? pollQuestion,
  4. List<PollOptions>? options,
  5. String? pollId,
  6. CometChatTheme? theme,
  7. required Future<void> choosePoll(
    1. String vote,
    2. String id
    ),
  8. String? senderUid,
  9. Map<String, dynamic>? metadata,
  10. PollsBubbleStyle? style,
})

Implementation

const CometChatPollsBubble(
    {super.key,
      this.loggedInUser,
      this.pollQuestion,
      this.options,
      this.pollId,
      this.theme,
      required this.choosePoll,
      this.senderUid,
      this.metadata,
      this.style});