BaseFlow<F extends Enum, S extends Enum> class
- Mixed-in types
-
- Implementers
Methods
-
checkInitializationConditions()
→ bool
-
Override this method in the class to provide initialization conditions
Return true if all required conditions are met
override
-
checkInitialized(String componentName)
→ bool
-
Check initialization state
Returns true if initialized, false otherwise
inherited
-
checkPreCondition(S step)
→ bool
-
-
complete()
→ Future<void>
-
-
getAllNavigationStates()
→ List<NavigationState>
-
override
-
getFirstStep()
→ Enum?
-
-
getFirstStepInterface()
→ FlowStepInterface?
-
-
getFlowConfigString()
→ String?
-
-
getFlowTransitions()
→ Map<Enum, ({dynamic nextStep, ConditionFunction? preCondition})>?
-
-
getGuard()
→ bool Function(BuildContext, String)?
-
override
-
getKeyForStep(S step)
→ GlobalKey<BasePageState<BasePage>>
-
-
getLastStep()
→ Enum?
-
-
getLastStepInterface()
→ FlowStepInterface?
-
-
getNavigationStateForStep<T extends Enum>(T step)
→ NavigationState
-
override
-
getNextStep(S step)
→ Enum?
-
-
getPageForStep(S step, {Key? identityKey})
→ Widget
-
-
getPreviousStep(S step)
→ S?
-
-
getStepType(Enum step)
→ StepType?
-
-
getTransitionsForFlow()
→ Map<Enum, ({dynamic nextStep, ConditionFunction? preCondition})>?
-
Returns the transition map for this flow
-
getWidgetForStep(Enum step)
→ Widget?
-
-
hasFlowConfig()
→ bool
-
-
hasPageForStep<T extends Enum>(T step)
→ bool
-
-
hasStepRegistered(Enum step)
→ bool
-
-
initialize()
→ bool
-
Try to initialize by checking conditions
Returns true if already initialized or successfully initialized now
inherited
-
initializeRegistry()
→ void
-
-
markInitialized()
→ void
-
Force mark as initialized (use with caution)
inherited
-
navigateToStep(Enum step)
→ Future<void>
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
onEnd()
→ void
-
-
onStart()
→ void
-
-
performCleanup()
→ Future<void>
-
-
performNavigation(String routeName, {Object? data})
→ Future<void>
-
-
performNavigationWithEnum(Enum step, {Object? data})
→ Future<void>
-
-
processStepBack(S step)
→ Future<void>
-
-
processStepDone(S step)
→ Future<void>
-
-
processStepError(S step)
→ Future<void>
-
-
processStepResult(Enum step, StepResult result)
→ Future<void>
-
-
processStepSkip<T extends Enum>(T step)
→ Future<void>
-
-
registerPage(S step, Widget pageCreator(Key), {StepType stepType = StepType.typePage})
→ void
-
-
registerStep(S step, Widget widgetCreator(Key), {StepType stepType = StepType.typePage})
→ void
-
-
setContext(BuildContext context)
→ void
-
-
setFlowConfigString(String config)
→ void
-
-
setNavigationService(BaseNavigationService service)
→ void
-
-
setStepType(Type stepType)
→ dynamic
-
-
setup()
→ Future<void>
-
-
start(S initialStep)
→ Future<void>
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
trackExceptionWithContext(Exception e, {String? context})
→ void
-
inherited
-
trackFlowEnd(String flow)
→ void
-
inherited
-
trackFlowStart(String flow)
→ void
-
inherited
-
trackIOWithTiming<T>(String operation, Future<T> op(), {required String flow, required String step})
→ Future<T>
-
inherited
-
trackPageEnd(String pageName)
→ void
-
inherited
-
trackPageStart(String pageName)
→ void
-
inherited
-
trackStepEnd(String flow, String step)
→ void
-
inherited
-
trackStepStart(String flow, String step)
→ void
-
inherited
-
unregisterAllPages()
→ void
-
-
updateState(Map<String, dynamic> updates)
→ Future<void>
-