form_flutter library
Flutter presentation for the curated DOM-first action form.
Classes
- SeoActionFlow
- Native Flutter presentation of a validated, linear action flow.
- SeoActionFlowAction
- A user navigation intent admitted by the linear action flow.
- SeoActionFlowCondition
- A closed branch condition evaluated against an earlier choice field.
- SeoActionFlowDefinition
- SeoActionFlowNext
- Moves to the next step without wrapping at the final step.
- SeoActionFlowPlan
- SeoActionFlowPlanCondition
- SeoActionFlowPlanReview
- SeoActionFlowPlanStep
- SeoActionFlowPrevious
- Moves to the previous step without wrapping at the first step.
- SeoActionFlowReview
- Labels for the optional package-generated final review stage.
- SeoActionFlowReviewEntry
- SeoActionFlowState
- Pure navigation state shared by native and DOM-first action flows.
- SeoActionFlowStep
- SeoActionForm
- Native Flutter presentation of the curated action-form slice.
- SeoActionFormDefinition
- SeoActionFormField
- SeoActionFormImage
- A validated image value delivered to an action-form handler.
- SeoActionFormImageSelection
- Bytes and a display filename returned by an application-owned image picker.
- SeoActionFormMessages
- SeoActionFormOption
- SeoActionFormPlan
- SeoActionFormPlanField
- SeoActionFormPlanOption
- SeoActionFormResult
- SeoActionFormValidation
- SeoActionFormValues
Constants
- seoActionFlowMaxSteps → const int
- seoActionFormMaxAggregateInputLength → const int
- seoActionFormMaxAggregateResultLength → const int
- seoActionFormMaxContextTokenLength → const int
- seoActionFormMaxDescriptionLength → const int
- seoActionFormMaxEmailLength → const int
- seoActionFormMaxFieldErrorLength → const int
- seoActionFormMaxFieldNameLength → const int
- seoActionFormMaxFields → const int
- seoActionFormMaxImageBytes → const int
- seoActionFormMaxImageDimension → const int
- seoActionFormMaxImageFilenameLength → const int
- seoActionFormMaxImagePixels → const int
- seoActionFormMaxLabelLength → const int
- seoActionFormMaxMultilineLength → const int
- seoActionFormMaxOptions → const int
- seoActionFormMaxResultTextLength → const int
- seoActionFormMaxTextLength → const int
Functions
-
activeSeoActionFlowFieldNames(
SeoActionFlowPlan plan, Map< String, String> rawValues) → Set<String> -
activeSeoActionFlowStepIndexes(
SeoActionFlowPlan plan, Map< String, String> rawValues) → List<int> - Returns the authored step indices active for the supplied raw choice values.
-
buildSeoActionFlowNodes(
SeoActionFlowDefinition definition) → List< SeoNode> -
buildSeoActionFlowPlanNodes(
SeoActionFlowPlan plan) → List< SeoNode> -
buildSeoActionFlowReviewEntries(
SeoActionFlowPlan plan, SeoActionFormValues values) → List< SeoActionFlowReviewEntry> -
buildSeoActionFormNodes(
SeoActionFormDefinition definition) → List< SeoNode> -
buildSeoActionFormPlanNodes(
SeoActionFormPlan plan) → List< SeoNode> -
canonicalizeSeoActionFormImage(
SeoActionFormImageSelection selection) → SeoActionFormImage? - Validates one picker result and derives its canonical image metadata.
-
canonicalizeSeoActionFormResult(
SeoActionFormPlan plan, SeoActionFormResult raw, {Set< String> ? allowedFieldNames}) → SeoActionFormResult? -
canonicalizeSeoActionFormText(
String raw, {required int maxLength}) → String? -
initialSeoActionFlowState(
{required int count}) → SeoActionFlowState - Returns a normalized initial state for an action flow.
-
prepareSeoActionFlow(
SeoActionFlowDefinition definition) → SeoActionFlowPlan? -
prepareSeoActionForm(
SeoActionFormDefinition definition) → SeoActionFormPlan? -
transitionSeoActionFlow(
SeoActionFlowState state, SeoActionFlowAction action) → SeoActionFlowState - Computes the next linear action-flow state without retaining state.
-
validateSeoActionFlowValues(
SeoActionFlowPlan plan, Map< String, String> rawValues, {Map<String, SeoActionFormImageSelection> images = const {}}) → SeoActionFormValidation - Validates one conditional flow and exposes only values from active steps.
-
validateSeoActionFormValues(
SeoActionFormPlan plan, Map< String, String> rawValues, {Map<String, SeoActionFormImageSelection> images = const {}}) → SeoActionFormValidation
Typedefs
-
SeoActionFormImagePicker
= FutureOr<
SeoActionFormImageSelection?> Function(SeoActionFormPlanField field) - Application-owned picker used by the native Flutter form presentation.
-
SeoActionFormSubmit
= FutureOr<
SeoActionFormResult> Function(SeoActionFormValues values)