PollModalStyleOptions constructor

const PollModalStyleOptions({
  1. BoxDecoration? outerContainerDecoration,
  2. EdgeInsetsGeometry? outerPadding,
  3. BoxDecoration? contentDecoration,
  4. EdgeInsetsGeometry? contentPadding,
  5. TextStyle? titleTextStyle,
  6. Widget? closeIcon,
  7. ButtonStyle? closeButtonStyle,
  8. Color? dividerColor,
  9. double? dividerThickness,
  10. double? dividerHeight,
  11. double? dividerIndent,
  12. double? dividerEndIndent,
  13. double? width,
  14. double? maxWidth,
  15. double? height,
  16. double? maxHeight,
  17. TextStyle? sectionTitleTextStyle,
  18. TextStyle? bodyTextStyle,
  19. TextStyle? emptyStateTextStyle,
  20. ButtonStyle? primaryButtonStyle,
  21. ButtonStyle? secondaryButtonStyle,
  22. ButtonStyle? destructiveButtonStyle,
  23. InputDecoration? questionInputDecoration,
  24. TextStyle? questionInputTextStyle,
  25. InputDecoration? optionInputDecoration,
  26. TextStyle? optionInputTextStyle,
  27. TextStyle? pollItemQuestionTextStyle,
  28. TextStyle? pollResultTextStyle,
  29. TextStyle? pollOptionPreviewTextStyle,
  30. TextStyle? currentPollOptionTextStyle,
  31. ButtonStyle? createButtonStyle,
  32. ButtonStyle? endButtonStyle,
  33. ButtonStyle? voteButtonStyle,
  34. TextStyle? dropdownTextStyle,
  35. String? questionLabelText,
  36. String optionLabelBuilder(
    1. int index
    )?,
})

Implementation

const PollModalStyleOptions({
  super.outerContainerDecoration,
  super.outerPadding,
  super.contentDecoration,
  super.contentPadding,
  super.titleTextStyle,
  super.closeIcon,
  super.closeButtonStyle,
  super.dividerColor,
  super.dividerThickness,
  super.dividerHeight,
  super.dividerIndent,
  super.dividerEndIndent,
  super.width,
  super.maxWidth,
  super.height,
  super.maxHeight,
  super.sectionTitleTextStyle,
  super.bodyTextStyle,
  super.emptyStateTextStyle,
  super.primaryButtonStyle,
  super.secondaryButtonStyle,
  super.destructiveButtonStyle,
  this.questionInputDecoration,
  this.questionInputTextStyle,
  this.optionInputDecoration,
  this.optionInputTextStyle,
  this.pollItemQuestionTextStyle,
  this.pollResultTextStyle,
  this.pollOptionPreviewTextStyle,
  this.currentPollOptionTextStyle,
  this.createButtonStyle,
  this.endButtonStyle,
  this.voteButtonStyle,
  this.dropdownTextStyle,
  this.questionLabelText,
  this.optionLabelBuilder,
});