We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e286056 commit 9c6378dCopy full SHA for 9c6378d
lib/src/storage_keys.dart
@@ -15,7 +15,11 @@ enum StorageKey {
15
16
/// Key for storing a boolean flag indicating whether the user has completed
17
/// the onboarding flow.
18
- hasSeenOnboarding;
+ hasSeenOnboarding,
19
+
20
+ /// Key for storing the email address of a user who is in the process of
21
+ /// signing in, useful for pre-filling the email field.
22
+ pendingSignInEmail;
23
24
/// Returns the snake_case string representation of the key for storage.
25
String get stringValue {
@@ -24,6 +28,8 @@ enum StorageKey {
28
return 'auth_token';
29
case StorageKey.hasSeenOnboarding:
26
30
return 'has_seen_onboarding';
31
+ case StorageKey.pendingSignInEmail:
32
+ return 'pending_sign_in_email';
27
33
}
34
35
0 commit comments