workflow_flutter library
Flutter presentation for the curated editorial workflow proof slice.
Classes
- SeoEditorialWorkflow
- SeoEditorialWorkflowAction
- SeoEditorialWorkflowApprove
- SeoEditorialWorkflowComponentPlan
- SeoEditorialWorkflowEvaluation
- SeoEditorialWorkflowPublish
- SeoEditorialWorkflowReject
- SeoEditorialWorkflowStageContent
- SeoEditorialWorkflowState
- SeoEditorialWorkflowSubmit
- SeoEditorialWorkflowView
Constants
- initialSeoEditorialWorkflowState → const SeoEditorialWorkflowState
- seoEditorialWorkflowMaxAggregateLabelTextLength → const int
- seoEditorialWorkflowMaxAggregateTextLength → const int
- seoEditorialWorkflowMaxAnnouncementTextLength → const int
- seoEditorialWorkflowMaxHistoryEntries → const int
- seoEditorialWorkflowMaxLabelTextLength → const int
- seoEditorialWorkflowMaxStatusTextLength → const int
- seoEditorialWorkflowMaxSummaryTextLength → const int
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
Typedefs
-
SeoEditorialWorkflowStageEntry
= ({String label, List<
SeoNode> nodes}) - SeoEditorialWorkflowTransition = SeoEditorialWorkflowState Function(SeoEditorialWorkflowState state, SeoEditorialWorkflowAction action)
- SeoEditorialWorkflowViewProjection = SeoEditorialWorkflowView Function(SeoEditorialWorkflowState state)