LoginTemplateCreatePasswordPage constructor

const LoginTemplateCreatePasswordPage({
  1. Key? key,
  2. required LoginTemplateStyle style,
  3. TextInputAction textInputActionPassword = TextInputAction.next,
  4. TextInputType keyboardTypePassword = TextInputType.visiblePassword,
  5. String hintTextPassword = 'New password',
  6. String? errorTextPassword,
  7. List<TextInputFormatter>? inputFormattersPassword,
  8. dynamic onTapPassword()?,
  9. TextEditingController? controllerPassword,
  10. TextInputAction textInputActionConfirmPassword = TextInputAction.done,
  11. TextInputType keyboardTypeConfirmPassword = TextInputType.visiblePassword,
  12. String hintTextConfirmPassword = 'Confirm password',
  13. String? errorTextConfirmPassword,
  14. List<TextInputFormatter>? inputFormattersConfirmPassword,
  15. dynamic onTapConfirmPassword()?,
  16. TextEditingController? controllerConfirmPassword,
  17. String textMessage = 'Your new password must be different from previous used passwords.',
  18. String buttonTextNext = 'Create password',
  19. required dynamic onPressedNext(),
  20. String textMessagePasswordRequirements = 'Must be at least 8 characters.',
  21. String textMessageConfirmPassword = 'Both passwords must match.',
})

Constructor

Implementation

const LoginTemplateCreatePasswordPage({
  Key? key,
  required this.logo,
  required this.style,
  this.textInputActionPassword: TextInputAction.next,
  this.keyboardTypePassword: TextInputType.visiblePassword,
  this.hintTextPassword: 'New password',
  this.errorTextPassword,
  this.inputFormattersPassword,
  this.onTapPassword,
  this.controllerPassword,
  this.textInputActionConfirmPassword: TextInputAction.done,
  this.keyboardTypeConfirmPassword: TextInputType.visiblePassword,
  this.hintTextConfirmPassword: 'Confirm password',
  this.errorTextConfirmPassword,
  this.inputFormattersConfirmPassword,
  this.onTapConfirmPassword,
  this.controllerConfirmPassword,
  this.textMessage:
      'Your new password must be different from previous used passwords.',
  this.buttonTextNext: 'Create password',
  required this.onPressedNext,
  this.textMessagePasswordRequirements: 'Must be at least 8 characters.',
  this.textMessageConfirmPassword: 'Both passwords must match.',
}) : super(key: key);