flutter_animated_login library
Classes
- Credential
- A credential that can be used to authenticate a user, with additional user information used to distinguish this credential from other available credentials. Credentials can be constructed using Credential.Builder. This is typically required when a credential is to be saved using SmartAuth.saveCredential for future retrieval after a new account is created, or the user changes their password. More about Credential https://developers.google.com/android/reference/com/google/android/gms/auth/api/credentials/Credential?hl=en
- EmailPhoneTextFiledConfig
- FlutterAnimatedLogin
- FlutterAnimatedVerify
- IntlPhoneField
- LoginConfig
- LoginData
- LoginProvider
- Methods
- OtpTextFiledConfig
- PageConfig
- PageWidget
- PasswordTextFiledConfig
- Pinput
- Flutter package to create easily customizable Pin code input field, that your designers can't even draw in Figma ðŸ¤
- PinputConstants
- The constant values for Pinput
- PinTheme
- Theme of the individual pin items for following states: default, focused pin, submitted pin, following pin, disabled pin and error pin
- ResetConfig
- SignupConfig
- SignupData
- SmartAuth
- Flutter package for listening SMS code on Android, suggesting phone number, email, saving a credential.
- SmsCodeResult
- The returned value from SmartAuth.getSmsCode Contains the whole sms and the OTP code itself
- TitleWidget
- VerifyConfig
Enums
- AndroidSmsAutofillMethod
- The method that is used to get the sms code on Android
- DialogType
- HapticFeedbackType
- The vibration type when user types
- IconPosition
- LoginType
- PinAnimationType
- The animation type if Pin item
- PinputAutovalidateMode
- The mode which determines the Pinput validation method
Extensions
- PinputControllerExt on TextEditingController
- Helper methods for Pinput to easily set, delete, append the value programmatically
Typedefs
- JustIndexedWidgetBuilder = Widget Function(int index)
- Signature for a function that creates a widget for a given index, e.g., in a list.
-
LoginCallback
= Future<
String?> ? Function(LoginData) - The callback triggered your login logic The result is an error message, callback successes if message is null
- PageBuilder = Widget Function(BuildContext context, BoxConstraints constraints)
- The builder for the page, it takes the context and constraints.
- PinputErrorBuilder = Widget Function(String? errorText, String pin)
- Error widget builder of Pinput
-
ProviderAuthCallback
= Future<
String?> ? Function() - The callback triggered your auth logic for the provider
-
ProviderNeedsSignUpCallback
= Future<
bool> Function() - If the callback returns true, the additional data card is shown
-
ResendOtpCallback
= Future<
String?> ? Function(LoginData) - The callback triggered your OTP resend logic
-
ResetPasswordCallback
= Future<
String?> ? Function(String) - The callback triggered your reset password logic
-
SignupCallback
= Future<
String?> ? Function(SignupData) - The callback triggered your signup logic The result is an error message, callback successes if message is null
-
VerifyCallback
= Future<
String?> ? Function(LoginData) - The callback triggered your OTP verification logic