LoginTemplateSignInPage constructor

const LoginTemplateSignInPage({
  1. Key? key,
  2. required dynamic onPressedSignIn(),
  3. required dynamic onPressedForgot(),
  4. required dynamic onPressedSignUp(),
  5. required LoginTemplateStyle style,
  6. TextInputAction textInputActionUser = TextInputAction.next,
  7. TextInputType keyboardTypeUser = TextInputType.emailAddress,
  8. String hintTextUser = 'User name / Email / Phone number',
  9. String? errorTextUser,
  10. List<TextInputFormatter>? inputFormattersUser,
  11. dynamic onTapUser()?,
  12. TextEditingController? controllerUser,
  13. TextInputAction textInputActionPassword = TextInputAction.done,
  14. TextInputType keyboardTypePassword = TextInputType.visiblePassword,
  15. String hintTextPassword = 'Password',
  16. String? errorTextPassword,
  17. List<TextInputFormatter>? inputFormattersPassword,
  18. dynamic onTapPassword()?,
  19. TextEditingController? controllerPassword,
  20. String buttonTextSignIn = 'Sign In',
  21. String buttonTextForgotPassword = 'Forgot password?',
  22. String buttonTextSignUp = 'Sign Up',
  23. List<LoginTemplateSocialButton>? socialButtons,
  24. LoginTemplateTerm? term,
  25. 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);