confirmPasswordValidator top-level property

MultiValidator confirmPasswordValidator

Implementation

MultiValidator get confirmPasswordValidator => MultiValidator([
      RequiredValidator(errorText: 'password is required'), ConfirmPassword()
      // PatternValidator(r'(?=.*?[#?!@$%^&*-])',
      //     errorText: 'passwords must have at least one special character')
    ]);