PollModalStyleOptions constructor
const
PollModalStyleOptions({ - BoxDecoration? outerContainerDecoration,
- EdgeInsetsGeometry? outerPadding,
- BoxDecoration? contentDecoration,
- EdgeInsetsGeometry? contentPadding,
- TextStyle? titleTextStyle,
- Widget? closeIcon,
- ButtonStyle? closeButtonStyle,
- Color? dividerColor,
- double? dividerThickness,
- double? dividerHeight,
- double? dividerIndent,
- double? dividerEndIndent,
- double? width,
- double? maxWidth,
- double? height,
- double? maxHeight,
- TextStyle? sectionTitleTextStyle,
- TextStyle? bodyTextStyle,
- TextStyle? emptyStateTextStyle,
- ButtonStyle? primaryButtonStyle,
- ButtonStyle? secondaryButtonStyle,
- ButtonStyle? destructiveButtonStyle,
- InputDecoration? questionInputDecoration,
- TextStyle? questionInputTextStyle,
- InputDecoration? optionInputDecoration,
- TextStyle? optionInputTextStyle,
- TextStyle? pollItemQuestionTextStyle,
- TextStyle? pollResultTextStyle,
- TextStyle? pollOptionPreviewTextStyle,
- TextStyle? currentPollOptionTextStyle,
- ButtonStyle? createButtonStyle,
- ButtonStyle? endButtonStyle,
- ButtonStyle? voteButtonStyle,
- TextStyle? dropdownTextStyle,
- String? questionLabelText,
- String optionLabelBuilder(
- 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,
});