LoginTemplateSignUpPage constructor

const LoginTemplateSignUpPage({
  1. Key? key,
  2. required dynamic onPressedSignIn(),
  3. required dynamic onPressedSignUp(),
  4. required LoginTemplateStyle style,
  5. TextInputAction textInputActionUser = TextInputAction.next,
  6. TextInputType keyboardTypeUser = TextInputType.emailAddress,
  7. String hintTextUser = 'User name / Email / Phone number',
  8. String? errorTextUser,
  9. List<TextInputFormatter>? inputFormattersUser,
  10. dynamic onTapUser()?,
  11. TextEditingController? controllerUser,
  12. TextInputAction textInputActionFullName = TextInputAction.done,
  13. TextInputType keyboardTypeFullName = TextInputType.name,
  14. String hintTextFullName = 'Full name',
  15. String? errorTextFullName,
  16. List<TextInputFormatter>? inputFormattersFullName,
  17. dynamic onTapFullName()?,
  18. TextEditingController? controllerFullName,
  19. String buttonTextSignIn = 'Sign In',
  20. String buttonTextSignUp = 'Create Account',
  21. LoginTemplateTerm? term,
  22. String textMessageAlreadyHaveAccount = 'Already have an account? ',
  23. bool signInSectionVisible = true,
})

Implementation

const LoginTemplateSignUpPage({
  Key? key,
  required this.logo,
  required this.onPressedSignIn,
  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.textInputActionFullName: TextInputAction.done,
  this.keyboardTypeFullName: TextInputType.name,
  this.hintTextFullName: 'Full name',
  this.errorTextFullName,
  this.inputFormattersFullName,
  this.onTapFullName,
  this.controllerFullName,
  this.buttonTextSignIn: 'Sign In',
  this.buttonTextSignUp: 'Create Account',
  this.term,
  this.textMessageAlreadyHaveAccount: 'Already have an account? ',
  this.signInSectionVisible: true,
}) : super(key: key);