smart_textform_validator 1.0.4 copy "smart_textform_validator: ^1.0.4" to clipboard
smart_textform_validator: ^1.0.4 copied to clipboard

A simple and reusable Flutter package for validating text form fields. Includes common validators like required, email, password strength, min/max length, pattern match, and more. Also provides a fl [...]

smart_textform_validator #

smart_textform_validator is a lightweight and powerful Flutter package that provides reusable and readable validators for TextFormField. It includes common validators and a builder to chain multiple validations in a clean and structured way.


✨ Features #

  • ✅ Required field check
  • 📧 Email format validation
  • 🔐 Password strength check
  • 🔢 Minimum and maximum length
  • 🔄 Matching two values (e.g., password & confirm password)
  • 🔍 Pattern-based validation
  • 🧱 Chain multiple validators using ValidatorBuilder

🚀 Installation #

Add to your pubspec.yaml:

dependencies:
  smart_textform_validator: ^1.0.4
18
likes
150
points
37
downloads

Publisher

unverified uploader

Weekly Downloads

A simple and reusable Flutter package for validating text form fields. Includes common validators like required, email, password strength, min/max length, pattern match, and more. Also provides a fluent API via ValidatorBuilder.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on smart_textform_validator