CustomConfigParameters constructor
CustomConfigParameters({
- bool? absoluteAndRelativeDates,
- bool? absoluteDates,
- bool? allowAnon,
- bool? allowAnonFlag,
- bool? allowAnonVotes,
- List<
String> ? allowedLanguages = const [], - bool? collapseReplies,
- String? commentCountFormat,
- CommentHTMLRenderingMode? commentHTMLRenderingMode,
- CommentThreadDeletionMode? commentThreadDeleteMode,
- CommenterNameFormats? commenterNameFormat,
- int? countAboveToggle,
- String? customCSS,
- String? defaultAvatarSrc,
- SortDirections? defaultSortDirection,
- String? defaultUsername,
- bool? disableAutoAdminMigration,
- bool? disableAutoHashTagCreation,
- bool? disableBlocking,
- bool? disableCommenterCommentDelete,
- bool? disableCommenterCommentEdit,
- bool? disableEmailInputs,
- bool? disableLiveCommenting,
- bool? disableNotificationBell,
- bool? disableProfileComments,
- bool? disableProfileDirectMessages,
- bool? disableProfiles,
- bool? disableSuccessMessage,
- bool? disableToolbar,
- bool? disableUnverifiedLabel,
- bool? disableVoting,
- bool? enableCommenterLinks,
- bool? enableSearch,
- bool? enableSpoilers,
- bool? enableThirdPartyCookieBypass,
- bool? enableViewCounts,
- bool? enableVoteList,
- bool? enableWYSIWYG,
- GifRating? gifRating,
- bool? hasDarkBackground,
- String? headerHTML,
- bool? hideAvatars,
- String? hideCommentsUnderCountTextFormat,
- ImageContentProfanityLevel? imageContentProfanityLevel,
- bool? inputAfterComments,
- bool? limitCommentsByGroups,
- String? locale,
- int? maxCommentCharacterLength,
- int? maxCommentCreatedCountPUPM,
- bool? noCustomConfig,
- MentionAutoCompleteMode? mentionAutoCompleteMode,
- bool? noImageUploads,
- bool? allowEmbeds,
- List<
String> ? allowedEmbedDomains = const [], - bool? noStyles,
- int? pageSize,
- bool? readonly,
- bool? noNewRootComments,
- bool? requireSSO,
- bool? enableFChat,
- bool? enableResizeHandle,
- List<
String> ? restrictedLinkDomains = const [], - bool? showBadgesInTopBar,
- bool? showCommentSaveSuccess,
- bool? showLiveRightAway,
- bool? showQuestion,
- List<
SpamRule> spamRules = const [], - SSOSecurityLevel? ssoSecLvl,
- Map<
String, String> ? translations, - bool? useShowCommentsToggle,
- bool? useSingleLineCommentInput,
- VoteStyle? voteStyle,
- String? widgetQuestionId,
- CommentQuestionResultsRenderingType? widgetQuestionResultsStyle,
- bool? widgetQuestionShowBreakdown,
- QuestionRenderingType? widgetQuestionStyle,
- QuestionWhenSave? widgetQuestionWhenToSave,
- CommentQuestionsRequired? widgetQuestionsRequired,
- QuestionSubQuestionVisibility? widgetSubQuestionVisibility,
- bool? wrap,
- UsersListLocation? usersListLocation,
- bool? usersListIncludeOffline,
- String? ticketBaseUrl,
- String? ticketKBSearchEndpoint,
- bool? ticketFileUploadsEnabled,
- int? ticketMaxFileSize,
- List<
String> ticketAutoAssignUserIds = const [], - TOSConfig? tos,
Returns a new CustomConfigParameters instance.
Implementation
CustomConfigParameters({
this.absoluteAndRelativeDates,
this.absoluteDates,
this.allowAnon,
this.allowAnonFlag,
this.allowAnonVotes,
this.allowedLanguages = const [],
this.collapseReplies,
this.commentCountFormat,
this.commentHTMLRenderingMode,
this.commentThreadDeleteMode,
this.commenterNameFormat,
this.countAboveToggle,
this.customCSS,
this.defaultAvatarSrc,
this.defaultSortDirection,
this.defaultUsername,
this.disableAutoAdminMigration,
this.disableAutoHashTagCreation,
this.disableBlocking,
this.disableCommenterCommentDelete,
this.disableCommenterCommentEdit,
this.disableEmailInputs,
this.disableLiveCommenting,
this.disableNotificationBell,
this.disableProfileComments,
this.disableProfileDirectMessages,
this.disableProfiles,
this.disableSuccessMessage,
this.disableToolbar,
this.disableUnverifiedLabel,
this.disableVoting,
this.enableCommenterLinks,
this.enableSearch,
this.enableSpoilers,
this.enableThirdPartyCookieBypass,
this.enableViewCounts,
this.enableVoteList,
this.enableWYSIWYG,
this.gifRating,
this.hasDarkBackground,
this.headerHTML,
this.hideAvatars,
this.hideCommentsUnderCountTextFormat,
this.imageContentProfanityLevel,
this.inputAfterComments,
this.limitCommentsByGroups,
this.locale,
this.maxCommentCharacterLength,
this.maxCommentCreatedCountPUPM,
this.noCustomConfig,
this.mentionAutoCompleteMode,
this.noImageUploads,
this.allowEmbeds,
this.allowedEmbedDomains = const [],
this.noStyles,
this.pageSize,
this.readonly,
this.noNewRootComments,
this.requireSSO,
this.enableFChat,
this.enableResizeHandle,
this.restrictedLinkDomains = const [],
this.showBadgesInTopBar,
this.showCommentSaveSuccess,
this.showLiveRightAway,
this.showQuestion,
this.spamRules = const [],
this.ssoSecLvl,
this.translations,
this.useShowCommentsToggle,
this.useSingleLineCommentInput,
this.voteStyle,
this.widgetQuestionId,
this.widgetQuestionResultsStyle,
this.widgetQuestionShowBreakdown,
this.widgetQuestionStyle,
this.widgetQuestionWhenToSave,
this.widgetQuestionsRequired,
this.widgetSubQuestionVisibility,
this.wrap,
this.usersListLocation,
this.usersListIncludeOffline,
this.ticketBaseUrl,
this.ticketKBSearchEndpoint,
this.ticketFileUploadsEnabled,
this.ticketMaxFileSize,
this.ticketAutoAssignUserIds = const [],
this.tos,
});