SeoChecklistWorkflow constructor

const SeoChecklistWorkflow({
  1. Key? key,
  2. required List<SeoApprovalChecklistItemContent> items,
  3. required List<SeoEditorialWorkflowStageContent> stages,
  4. required SeoChecklistWorkflowState initialState,
  5. required SeoChecklistWorkflowViewProjection project,
  6. SeoChecklistWorkflowTransition transition = transitionSeoChecklistWorkflow,
  7. String? interactionId,
  8. int headingLevel = 2,
  9. String heading = 'Publication checklist',
  10. String statusLabel = 'Status',
  11. String progressLabel = 'Checks completed',
  12. String historyLabel = 'History',
  13. String submitLabel = 'Submit for review',
  14. String approveLabel = 'Approve',
  15. String rejectLabel = 'Reject',
  16. String publishLabel = 'Publish',
  17. 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,
});