multi_step_flow library
A Flutter package for creating customizable multi-step flows
This package provides a state management solution for multi-step flows and forms. It handles navigation between steps, validation, data persistence, and more.
Classes
-
CustomStepHandler<
TStepData, TResult> - Extension for handling steps with specific behaviors.
-
FlowBloc<
TStepData> - Bloc for managing a multi-step flow
- FlowCompleted
- Flow completed event
- FlowConfiguration
- Configuration options for a multi-step flow
- FlowErrorOccurred
- Error occurred event
- FlowEvent
- Base flow event class
- FlowInitialized
- Flow initialized event
- FlowLoading
- Loading event
- FlowNextPressed
- Next button pressed event
- FlowPreviousPressed
- Previous button pressed event
- FlowReset
- Reset flow event
-
FlowState<
TStepData> - Represents the current state of a multi-step flow
-
FlowStep<
TStepData> - A step in a multi-step flow
-
FlowStepConverter<
T> - A JsonConverter for FlowStep that handles generic data
- FlowStepDataUpdated
- Step data updated event
-
FlowStepsConverter<
T> - A JsonConverter for List
- FlowStepSelected
- Step selected event
- FlowStepSkipped
- Skip button pressed event
- FlowStepsModified
- Steps modified event
- FlowStepTimerCompleted
- Step timer completed event
- FlowStepValidated
- Step validated event
- FormStepData
- Specialized data model for form steps
- InformationStepData
- A specialized data model for information steps
-
StepExtension<
TStepData> - Extension point for creating custom step types and behaviors.
-
StepExtensionRegistry<
TStepData> - Registry for step extensions and custom handlers.
Enums
- FlowStatus
- Represents the current status of a flow
Extensions
-
FlowStepExtensions
on FlowStep<
TStepData> - Extension methods on FlowStep to make it easier to work with extensions.