SeoEditorialWorkflow constructor

const SeoEditorialWorkflow({
  1. Key? key,
  2. required List<SeoEditorialWorkflowStageContent> stages,
  3. required SeoEditorialWorkflowState initialState,
  4. required SeoEditorialWorkflowViewProjection project,
  5. SeoEditorialWorkflowTransition transition = transitionSeoEditorialWorkflow,
  6. String? interactionId,
  7. int headingLevel = 2,
  8. String heading = 'Editorial workflow',
  9. String interactionLabel = 'Editorial approval workflow',
  10. String statusLabel = 'Status',
  11. String progressLabel = 'Progress',
  12. String historyLabel = 'History',
  13. String submitLabel = 'Submit for review',
  14. String approveLabel = 'Approve',
  15. String rejectLabel = 'Reject',
  16. String publishLabel = 'Publish',
  17. 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,
});