best_form_validator 1.2.0
best_form_validator: ^1.2.0 copied to clipboard
High-performance form validation package for Dart & Flutter. Zero-initialization validators for Forms, Email, Phone (50+ countries), Password Strength, Bank/Credit Cards, Name, & Age.
1.2.0 #
Huge Performance & Feature Upgrade 🚀 #
- Zero-Initialization Hook: Phone Regex patterns are now statically compiled. You no longer need to
await Validators.loadPhoneRegex()in yourmain(). Phone validation runs entirely synchronously! - Multi Validator: Added
MultiValidatorto allow chaining multiple validations sequentially. - Financial Validation: Added new
FinancialValidatorsto support Credit Cards (Luhn Algorithm Mod-10) and IBAN checks (MOD-97). - Password Strength: Added
Validators.getPasswordStrength()which evaluates text entropy and returns anintscore ranging from0to5. - Advanced Formatting: Added
PhoneInputFormatterwhich intelligently auto-formats international phone numbers as the user types. - Async Validations: Added
AsyncValidatorutility helper. - Over 25+ Language Localizations inherently patched to natively handle detailed password checks.
1.1.3 #
Maintenance #
- Updated pubspec metadata for better pub.dev compliance.
- Fixed repository, homepage, and issue tracker URLs.
- Improved CHANGELOG consistency.
- Standardized Dart file conventions and documentation.
1.1.1 #
Maintenance #
- Updated pubspec metadata for better pub.dev compliance.
- Shortened package description.
- Updated license file to standard MIT format.
1.1.0 #
Features #
- 🌍 Full Localization Support: Added support for 25+ languages including English, Spanish, French, German, Arabic, Urdu, Hindi, Chinese, Portuguese, Russian, Italian, Turkish, Japanese, Korean, and more.
- Added
Validators.setLocale(Locale)for dynamic runtime locale switching. - Added
FormLocalizationsclass for accessing localized strings directly.
Improvements #
- Updated all validators (Email, Phone, Password, Name, Age, Date, Time) to automatically use localized error messages.
- Enhanced example app to demonstrate dynamic language switching.
1.0.4 #
Improvements #
- Enhanced package documentation with comprehensive examples
- Added detailed API reference documentation
- Improved README with complete usage examples
- Added support for 50+ countries in phone validation
- Updated dependencies to latest stable versions
Bug Fixes #
- Fixed phone validation initialization issues
- Improved error message consistency across validators
1.0.3 #
1.0.2 #
1.0.1 #
Bug Fixes #
- Fixed asset loading issues for phone validation
- Improved package initialization
- Minor documentation updates
1.0.0 #
Initial Release #
- ✅ Email validation with regex pattern matching
- ✅ Phone number validation for multiple countries
- ✅ Password validation with customizable criteria
- ✅ Name validation with proper formatting rules
- ✅ Age validation from DateTime or string
- ✅ Customizable error messages
- ✅ Null safety support
- ✅ Comprehensive test coverage
- ✅ Example application
- ✅ Full documentation