form_field_validator 1.1.0 copy "form_field_validator: ^1.1.0" to clipboard
form_field_validator: ^1.1.0 copied to clipboard

A straightforward flutter form field validator that provides common validation options.

example/README.md


     // assign it directly to a TextFormField validator
     TextFormField(
         validator: EmailValidator(errorText: 'enter a valid email address')
         );

     // create a reusable instance
     final requiredValidator = RequiredValidator(errorText: 'this field is required');

     // again assign it directly to the validator
     TextFormField(validator: requiredValidator);
copied to clipboard
451
likes
140
points
29.8k
downloads

Publisher

verified publishercodeness.ly

Weekly Downloads

2024.09.18 - 2025.04.02

A straightforward flutter form field validator that provides common validation options.

Repository (GitHub)

Documentation

API reference

License

MIT (license)

Dependencies

flutter, intl

More

Packages that depend on form_field_validator