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);
445
likes
140
pub points
99%
popularity

Publisher

verified publishercodeness.ly

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

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, intl

More

Packages that depend on form_field_validator