SeoChecklistWorkflow constructor
const
SeoChecklistWorkflow({
- Key? key,
- required List<
SeoApprovalChecklistItemContent> items, - required List<
SeoEditorialWorkflowStageContent> stages, - required SeoChecklistWorkflowState initialState,
- required SeoChecklistWorkflowViewProjection project,
- SeoChecklistWorkflowTransition transition = transitionSeoChecklistWorkflow,
- String? interactionId,
- int headingLevel = 2,
- String heading = 'Publication checklist',
- String statusLabel = 'Status',
- String progressLabel = 'Checks completed',
- String historyLabel = 'History',
- String submitLabel = 'Submit for review',
- String approveLabel = 'Approve',
- String rejectLabel = 'Reject',
- String publishLabel = 'Publish',
- ValueChanged<
SeoChecklistWorkflowEvaluation> ? onChanged,
Implementation
const SeoChecklistWorkflow({
super.key,
required this.items,
required this.stages,
required this.initialState,
required this.project,
this.transition = transitionSeoChecklistWorkflow,
this.interactionId,
this.headingLevel = 2,
this.heading = 'Publication checklist',
this.statusLabel = 'Status',
this.progressLabel = 'Checks completed',
this.historyLabel = 'History',
this.submitLabel = 'Submit for review',
this.approveLabel = 'Approve',
this.rejectLabel = 'Reject',
this.publishLabel = 'Publish',
this.onChanged,
});