workflow_flutter library

Flutter presentation for the curated editorial workflow proof slice.

Functions

buildSeoEditorialWorkflowNodes({required List<SeoEditorialWorkflowStageEntry> stages, required SeoEditorialWorkflowState initialState, required SeoEditorialWorkflowViewProjection project, 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'}) → List<SeoNode>
buildSeoEditorialWorkflowPlanNodes(SeoEditorialWorkflowComponentPlan plan) → List<SeoNode>
evaluateInitialSeoEditorialWorkflowView(SeoEditorialWorkflowViewProjection project, SeoEditorialWorkflowState state) → SeoEditorialWorkflowEvaluation?
evaluateSeoEditorialWorkflowAction({required SeoEditorialWorkflowTransition transition, required SeoEditorialWorkflowViewProjection project, required SeoEditorialWorkflowEvaluation current, required SeoEditorialWorkflowAction action}) → SeoEditorialWorkflowEvaluation?
isSeoEditorialWorkflowActionEnabled(SeoEditorialWorkflowState state, SeoEditorialWorkflowAction action) → bool
isValidSeoEditorialWorkflowState(SeoEditorialWorkflowState state) → bool
prepareSeoEditorialWorkflowComponent({required List<SeoEditorialWorkflowStageEntry> stages, required SeoEditorialWorkflowState initialState, required SeoEditorialWorkflowViewProjection project, 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'}) → SeoEditorialWorkflowComponentPlan?
transitionSeoEditorialWorkflow(SeoEditorialWorkflowState state, SeoEditorialWorkflowAction action) → SeoEditorialWorkflowState