SeoEditorialWorkflow constructor
const
SeoEditorialWorkflow({
- Key? key,
- required List<
SeoEditorialWorkflowStageContent> stages, - required SeoEditorialWorkflowState initialState,
- required SeoEditorialWorkflowViewProjection project,
- SeoEditorialWorkflowTransition transition = transitionSeoEditorialWorkflow,
- String? interactionId,
- int headingLevel = 2,
- String heading = 'Editorial workflow',
- String interactionLabel = 'Editorial approval workflow',
- String statusLabel = 'Status',
- String progressLabel = 'Progress',
- String historyLabel = 'History',
- String submitLabel = 'Submit for review',
- String approveLabel = 'Approve',
- String rejectLabel = 'Reject',
- String publishLabel = 'Publish',
- ValueChanged<
SeoEditorialWorkflowEvaluation> ? onChanged,
Implementation
const SeoEditorialWorkflow({
super.key,
required this.stages,
required this.initialState,
required this.project,
this.transition = transitionSeoEditorialWorkflow,
this.interactionId,
this.headingLevel = 2,
this.heading = 'Editorial workflow',
this.interactionLabel = 'Editorial approval workflow',
this.statusLabel = 'Status',
this.progressLabel = 'Progress',
this.historyLabel = 'History',
this.submitLabel = 'Submit for review',
this.approveLabel = 'Approve',
this.rejectLabel = 'Reject',
this.publishLabel = 'Publish',
this.onChanged,
});