LoginTemplateCreatePasswordPage constructor
const
LoginTemplateCreatePasswordPage({
- Key? key,
- required Widget logo,
- required LoginTemplateStyle style,
- TextInputAction textInputActionPassword = TextInputAction.next,
- TextInputType keyboardTypePassword = TextInputType.visiblePassword,
- String hintTextPassword = 'New password',
- String? errorTextPassword,
- List<
TextInputFormatter> ? inputFormattersPassword, - dynamic onTapPassword()?,
- TextEditingController? controllerPassword,
- TextInputAction textInputActionConfirmPassword = TextInputAction.done,
- TextInputType keyboardTypeConfirmPassword = TextInputType.visiblePassword,
- String hintTextConfirmPassword = 'Confirm password',
- String? errorTextConfirmPassword,
- List<
TextInputFormatter> ? inputFormattersConfirmPassword, - dynamic onTapConfirmPassword()?,
- TextEditingController? controllerConfirmPassword,
- String textMessage = 'Your new password must be different from previous used passwords.',
- String buttonTextNext = 'Create password',
- required dynamic onPressedNext(),
- String textMessagePasswordRequirements = 'Must be at least 8 characters.',
- 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);