LoginTemplateSignInPage constructor
const
LoginTemplateSignInPage({
- Key? key,
- required Widget logo,
- required dynamic onPressedSignIn(),
- required dynamic onPressedForgot(),
- required dynamic onPressedSignUp(),
- required LoginTemplateStyle style,
- TextInputAction textInputActionUser = TextInputAction.next,
- TextInputType keyboardTypeUser = TextInputType.emailAddress,
- String hintTextUser = 'User name / Email / Phone number',
- String? errorTextUser,
- List<
TextInputFormatter> ? inputFormattersUser, - dynamic onTapUser()?,
- TextEditingController? controllerUser,
- TextInputAction textInputActionPassword = TextInputAction.done,
- TextInputType keyboardTypePassword = TextInputType.visiblePassword,
- String hintTextPassword = 'Password',
- String? errorTextPassword,
- List<
TextInputFormatter> ? inputFormattersPassword, - dynamic onTapPassword()?,
- TextEditingController? controllerPassword,
- String buttonTextSignIn = 'Sign In',
- String buttonTextForgotPassword = 'Forgot password?',
- String buttonTextSignUp = 'Sign Up',
- List<
LoginTemplateSocialButton> ? socialButtons, - LoginTemplateTerm? term,
- bool passwordVisible = true,
Implementation
const LoginTemplateSignInPage({
Key? key,
required this.logo,
required this.onPressedSignIn,
required this.onPressedForgot,
required this.onPressedSignUp,
required this.style,
this.textInputActionUser: TextInputAction.next,
this.keyboardTypeUser: TextInputType.emailAddress,
this.hintTextUser: 'User name / Email / Phone number',
this.errorTextUser,
this.inputFormattersUser,
this.onTapUser,
this.controllerUser,
this.textInputActionPassword: TextInputAction.done,
this.keyboardTypePassword: TextInputType.visiblePassword,
this.hintTextPassword: 'Password',
this.errorTextPassword,
this.inputFormattersPassword,
this.onTapPassword,
this.controllerPassword,
this.buttonTextSignIn: 'Sign In',
this.buttonTextForgotPassword: 'Forgot password?',
this.buttonTextSignUp: 'Sign Up',
this.socialButtons,
this.term,
this.passwordVisible: true,
}) : super(key: key);