Skip to content

Commit

Permalink
update document
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobaraujo7 committed Aug 24, 2024
1 parent d4134c2 commit d58b1ab
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,15 @@ extension CustomValidPasswordValidator on LucidValidationBuilder<String> {
}
```

Use directly!

```dart
ruleFor((user) => user.password, key: 'password')
.customValidPassword();
```

## Contributing

Feel free to open issues or pull requests on the [GitHub repository](https://github.com/Flutterando/lucid_validation) if you find any issues or have suggestions for improvements.
Expand Down

0 comments on commit d58b1ab

Please sign in to comment.