@@ -33,18 +33,18 @@ validating Flutter form fields. Its main benefits, compared to all other similar
3333packages, include:
3434
3535- Dependency-free package: there is only pure Dart code.
36- - Object-oriented mindset: validation elements are ** immutable**
37- objects that can be combined in various configurations.
38- - Classes with short - yet meaningful - names like ` Req ` for required fields;
39- ` ReqEmail ` for a non-empty, well-formed email ; ` Len ` for length constraints;
36+ - Object-oriented mindset: validation elements are ** immutable objects ** that
37+ can be combined in various configurations.
38+ - Classes with short — yet meaningful — names like ` Req ` for required fields;
39+ ` ReqEmail ` for non-empty, well-formed emails ; ` Len ` for length constraints;
4040 ` Int ` for integer-only values; and so on.
41- - Easy-to-compose validators: for example, the ` Trim(Email()) ` command produces
42- a validator that trims the entered email before validating it.
41+ - Easy-to-compose validators: the command ` Trim(Email()) ` produces a validator
42+ that trims the entered email before validating it.
4343- Multiple validation at once: you can apply multiple validation rules at once
4444 by using the ` Pair ` or ` Rules ` classes.
45- - Built-in set of compound validators: e.g. to validate an email and
46- limit its length to a maximum of 50 characters, simply use an instance of the
47- ` Email.len(50) ` class — ** write less; do more!**
45+ - Built-in set of compound validators: e.g. to validate an email and limit its
46+ length to a maximum of 50 characters, simply use an instance of ` Email.len(50) `
47+ — ** write less; do more!**
4848
4949For easier integration with the Flutter form fields, every validator implements
5050the ` call() ` method so that any validator object can be called as a function —
@@ -98,15 +98,15 @@ For a complete list of validators with detailed information about each one
9898### Grouped by Category
9999
100100- [ brazil] ( https://pub.dev/documentation/formdator/latest/brazil/brazil-library.html )
101- — validators related to Brazil (BrMobile, BrPhone, Cep, Cnpj, Cpf, etc).
101+ — validators related to Brazil (BrMobile, BrPhone, Cep, Cnpj, Cpf, etc. ).
102102- [ core] ( https://pub.dev/documentation/formdator/latest/core/core-library.html ) —
103- core validators (Len, Pair, Req, Rules, Trim, etc).
103+ core validators (Len, Match [ text pattern ] , Pair, Req, Rules, Trim, etc. ).
104104- [ logic] ( https://pub.dev/documentation/formdator/latest/logic/logic-library.html )
105- — validation logic and unit testing (Equal, Ok, Nok, ValueBack, etc ).
105+ — validation logic and unit testing (Equal, Ok, Nok, ValueBack).
106106- [ net] ( https://pub.dev/documentation/formdator/latest/net/net-library.html ) —
107- internet (Email, Ipv4, Ipv6, MacAddr, Url, etc).
107+ internet (Email, Ipv4, Ipv6, MacAddr, Url, etc. ).
108108- [ numeric] ( https://pub.dev/documentation/formdator/latest/numeric/numeric-library.html )
109- — validators related to numbers or digits (Digit, Hex, Int, Num, etc).
109+ — validators related to numbers or digits (Digit, Hex, Int, Num, etc. ).
110110
111111## Demo application
112112
0 commit comments