animated_login library
Classes
- AnimatedComponent
- AnimatedComponent represents a component with its animation type.
- AnimatedDialogTheme
- Style related settings for "CustomDialog", that will be used on dialog displays.
- AnimatedLogin
- AnimatedLogin is the main widget creates the animated login screen Wraps the main view with providers.
- LanguageDialogTheme
- Style related settings for choose language dialog.
- LanguageOption
- LanguageOption model is to store/transfer data of language options.
- LoginData
- LoginData model is to store/transfer login mode data.
- LoginTexts
- LoginTexts is the provider for all texts in the login screen.
- LoginViewTheme
- LoginViewTheme is the provider for all design/theme related data.
- SignUpData
- SignUpData model is to store/transfer signup mode data.
- SocialLogin
- SocialLogin model is to store/transfer data of social login types.
- ValidatorModel
- ValidatorModel is to determine options for validations.
Enums
- AnimationType
- Type of the animations for the mobile view.
- AuthMode
- Authentication modes, login screen can be used for signup or login. Texts on the screen will be changed acc. to these enum values.
- LoginComponents
- Components of the login screen to be able to order them customly.
- SignUpModes
- Sign up modes to determine which text form fields should be displayed.
Typedefs
-
ChangeLangOnPressedCallback
= Future<
LanguageOption?> Function() - Will be called wen user taps to change language button. Should return LanguageOption that user is selected.
- ChangeLanguageCallback = void Function(LanguageOption? language)
- When user select a language, returns the corresponding language option.
- ChooseLangCallback = void Function(LanguageOption? language)
- Will be called when user taps to choose language button.
-
ForgotPasswordCallback
= Future<
String?> Function(String email) -
The result should be the error message.
Returning null indicates that the callback succeed.
It takes
email
as a parameter to identify the user. -
LoginCallback
= Future<
String?> Function(LoginData loginData) - The result should be the error message. Returning null indicates that the callback succeed.
-
SignupCallback
= Future<
String?> Function(SignUpData signUpData) - The result should be the error message. Returning null indicates that the callback succeed.
-
SocialLoginCallback
= Future<
String?> Function() - The result should be the error message. Returning null indicates that the callback succeed.