AiutaOnboardingFeature class
This class represents the onboarding feature for the Aiuta app.
- Annotations
-
- @JsonSerializable()
Constructors
- AiutaOnboardingFeature.new({required AiutaOnboardingHowItWorksPageFeature howItWorksPage, AiutaOnboardingBestResultsPageFeature? bestResultsPage, required AiutaOnboardingStrings strings, required AiutaOnboardingShapes shapes, required AiutaOnboardingDataProvider dataProvider})
-
Creates an AiutaOnboardingFeature with the given parameters for the
required
howItWorksPage
, optionalbestResultsPage
, and the commonshapes
andstrings
used in the all onboarding pages. - AiutaOnboardingFeature.builtIn()
-
Creates a built-in onboarding feature configuration with default settings.
factory
-
AiutaOnboardingFeature.fromJson(Map<
String, dynamic> json) -
factory
Properties
- bestResultsPage → AiutaOnboardingBestResultsPageFeature?
-
Configuration for the Best Results page (optional).
This page is shown after the howItWorksPage page and provides
examples of the photos to achieve the best results.
final
- dataProvider → AiutaOnboardingDataProvider
-
Data provider for the onboarding feature.
Used to control whether the onboarding should be shown or not.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- howItWorksPage → AiutaOnboardingHowItWorksPageFeature
-
Configuration for the How It Works page, that is the first page of the onboarding.
This page is mandatory and cannot be null.
It interactively shows the user how the virtual try-on looks like.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- shapes → AiutaOnboardingShapes
-
Shapes used in the onboarding feature.
final
- strings → AiutaOnboardingStrings
-
Strings used in the onboarding feature.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited