this method used for validation of password if password is valid or not
String? Function(String?)? applyPasswordChanges;