validation_helper 0.0.3
validation_helper: ^0.0.3 copied to clipboard
A Flutter package providing easy-to-use validation functions for common input fields like phone numbers, pin codes, names, and passwords.
Changelog #
All notable changes to this package will be documented in this file.
0.0.3 - 2026-01-23 #
โจ Added #
- Added code comments and documentation for better readability and maintainability
- Added CHANGELOG.md file to track package changes
0.0.2 - 2026-01-22 #
0.0.1 - 2026-01-23 #
๐ Initial Release #
โจ Features #
- Added common form validators:
- Phone number validation
- Email validation
- Email or phone validation
- Password and strong password validation
- PIN code validation
- OTP validation
- Name and required field validation
- Only numbers and only alphabets validation
- Min length and max length validation
- Confirm password validation
- Amount and age validation
- IFSC, PAN, Aadhaar, GST (India-specific) validation
- URL / link validation
๐ก๏ธ Improvements #
- Fully null-safe validators
- Validators never throw exceptions and always return user-friendly messages
- Production-ready API design
๐งช Testing #
- Added comprehensive test suite using
flutter_test - 5+ test cases per validator
- 100% validator coverage
๐ Documentation #
- Added complete README with usage examples
- Added example Flutter app
- Added MIT License
๐๏ธ Project Setup #
- Added example app folder
- Added package structure for pub.dev publishing
[Unreleased] #
- Performance improvements
- Localization support for error messages
- Custom error message override support
- Regex builder helpers