validation_helper 0.0.3 copy "validation_helper: ^0.0.3" to clipboard
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 #

โœจ Added #

  • Added complete Flutter example application demonstrating usage of the package

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
2
likes
160
points
84
downloads

Publisher

unverified uploader

Weekly Downloads

A Flutter package providing easy-to-use validation functions for common input fields like phone numbers, pin codes, names, and passwords.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter

More

Packages that depend on validation_helper