AppDNAOnboardingDelegate class abstract

Onboarding flow lifecycle observer + async return-value hooks (routed via the sync_callbacks channel on Flutter/RN; hand-written natively on iOS and Android).

Constructors

AppDNAOnboardingDelegate()

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
onBeforeStepAdvance(String flowId, String fromStepId, int stepIndex, String stepType, Map<String, dynamic> responses, Map<String, dynamic>? stepData) → Future<Map<String, dynamic>>
Async advance hook. Return a result whose type is proceed, proceedWithData, block, skipTo or stay. An empty or missing answer, or an unrecognised type, advances an ordinary step but blocks a sign-in action.
onBeforeStepRender(String flowId, String stepId, int stepIndex, String stepType, Map<String, dynamic> responses) → Future<Map<String, dynamic>?>
Async pre-render hook. Return null (default) or a config override.
onElementInteraction(String flowId, String stepId, String blockId, String action, String? value, Map<String, dynamic> inputValues) → Future<Map<String, dynamic>?>
Async element-interaction hook. Return null (default) or a live-state result.
onOnboardingCompleted(String flowId, Map<String, dynamic> responses) → void
onOnboardingDismissed(String flowId, int atStep) → void
onOnboardingStarted(String flowId) → void
onOnboardingStepChanged(String flowId, String stepId, int stepIndex, int totalSteps) → void
onPermissionRequest(String permissionType) → Future<Map<String, dynamic>?>
Async permission pre-hook. Return .handledByHost(granted:) to short-circuit, or null to run the native flow.
onPermissionResult(String flowId, String stepId, String permissionType, bool granted) → void
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited