PurpiConfig class

Configuration pour initialiser Purpi dans une app hôte ou en standalone.

Les identifiants et clés API ne sont pas embarqués dans le package : ils doivent être fournis par l'app hôte, typiquement via --dart-define.

Constructors

PurpiConfig({Flavor flavor = Flavor.prod, String? storeAuthEmail, String? storeAuthPassword, String? googlePlacesApiKey, String? appsFlyerDevKey, String? appsFlyerAppId, String? googleIosClientId, String? googleServerClientId, bool showTopBar = true, ExternalAuthRequest? externalAuthRequest})
const

Properties

appsFlyerAppId String?
final
appsFlyerDevKey String?
Credentials AppsFlyer. Si appsFlyerDevKey est null, le SDK AppsFlyer n'est pas initialisé.
final
externalAuthRequest ExternalAuthRequest?
Si fourni par l'app hôte, Purpi utilise l'auth external automatiquement au lieu d'afficher le login.
final
flavor Flavor
final
googleIosClientId String?
OAuth client IDs Google Sign-In de l'app hôte.
final
googlePlacesApiKey String?
Clé Google Places utilisée par le champ de recherche d'adresse. Si null, le champ reste utilisable mais sans autocomplétion.
final
googleServerClientId String?
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
showTopBar bool
Affiche la top bar Purpi (logo + menu) dans MainAccountManagerScreen.
final
storeAuthEmail String?
Identifiants du store Purpi, fournis par l'app hôte.
final
storeAuthPassword String?
final

Methods

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

Operators

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