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