AiutaConsentStandaloneOnboardingPageFeature class

Consent information will be displayed in a standalone page after the onboarding (as the last page of the onboarding if it is enabled, or as a separate page otherwise). The user needs to accept the terms by setting required checkboxes to continue.

Inheritance
Annotations
  • @JsonSerializable()

Constructors

AiutaConsentStandaloneOnboardingPageFeature.new({required AiutaConsentStandaloneStrings strings, required AiutaConsentStandaloneIcons icons, required AiutaConsentStandaloneStyles styles, required AiutaConsentStandaloneData data, required AiutaConsentStandaloneDataProvider dataProvider})
Creates an AiutaConsentStandaloneOnboardingPageFeature with the strings, icons, styles, list of consents in data, and dataProvider to control the consent feature.
AiutaConsentStandaloneOnboardingPageFeature.fromJson(Map<String, dynamic> json)
factory

Properties

data AiutaConsentStandaloneData
Data used in the consent feature. Contains the list of consents with their properties.
final
dataProvider AiutaConsentStandaloneDataProvider
Data provider for the consent feature. Used to control the obtaining of the consent and provide the list of consents that already have been accepted by the user.
final
hashCode int
The hash code for this object.
no setterinherited
icons AiutaConsentStandaloneIcons
Icons used in the consent feature.
final
mode AiutaConsentMode
The mode of the consent feature to be embedded into the onboarding with embeddedIntoOnboarding or displayed as a standalone page with standaloneOnboardingPage or standaloneImagePickerPage.
getter/setter pairinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strings AiutaConsentStandaloneStrings
Strings used in the consent feature.
final
styles AiutaConsentStandaloneStyles
Styles used in the consent feature.
final

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