AiutaOnboardingDataProviderCustom class

A custom implementation of the AiutaOnboardingDataProvider.

This class allows for custom behavior during the onboarding process. It provides a ValueListenable to track whether onboarding is completed and a callback to handle the completion of onboarding.

Inheritance
Annotations
  • @JsonSerializable()

Constructors

AiutaOnboardingDataProviderCustom.new({required ValueListenable<bool> isOnboardingCompleted, required void completeOnboarding()})
Creates an AiutaOnboardingDataProviderCustom with the listenable isOnboardingCompleted indicating whether the onboarding process has been completed and the callback completeOnboarding that is called when the onboarding process is completed.
AiutaOnboardingDataProviderCustom.fromJson(Map<String, dynamic> json)
factory

Properties

completeOnboarding → void Function()
A callback function that is called when the onboarding process is completed.
final
hashCode int
The hash code for this object.
no setterinherited
isOnboardingCompleted ValueListenable<bool>
A ValueListenable bool that indicates whether the onboarding process has been completed and it should not be shown again.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
type AiutaCustomizationType
The type of the data provider, indicating whether it is built-in or custom.
getter/setter pairinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
override
toString() String
A string representation of this object.
inherited

Operators

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