king_validation 1.2.0
king_validation: ^1.2.0 copied to clipboard
A lightweight Flutter and Dart validation package with standalone validators, Form Validators, custom validation messages, and RegExp-based validation.
Changelog #
All notable changes to this project will be documented in this file.
1.2.0 #
๐ Improved the example application and package documentation.
โจ Added #
- ๐ฑ Modern Material 3 example application.
- ๐งฉ Reusable example widgets and sections.
- ๐ Examples for default validators.
- ๐จ Examples for custom validation messages.
- ๐ ๏ธ Examples for custom regular expression validation.
- โ Form validation and reset actions.
๐ Improved #
- Improved
README.mdwith Quick Start examples. - Added standalone validator examples.
- Added Flutter Form Validator examples.
- Added
ValidationResultusage examples. - Improved package documentation.
- Improved overall example project structure.
1.1.0 #
๐ Added Flutter Form Validators and customizable validation messages.
โจ Added #
- ๐ Form Validators for all built-in validators.
- ๐จ Custom validation messages using the
messagesparameter. - ๐๏ธ BaseFormValidator for reusable form validation.
- ๐ Flutter Form validation examples.
- ๐งช Unit tests for all Form Validators.
๐ Improved #
- Improved package architecture.
- Improved Flutter integration.
- Improved documentation.
- Improved example application.
- Expanded test coverage.
1.0.0 #
๐ Initial release.
โจ Added #
- ๐ง EmailValidator
- ๐ PasswordValidator
- ๐ฑ PhoneValidator
- ๐ค UsernameValidator
- ๐ NameValidator
- ๐ UrlValidator
- ๐ข NumberValidator
- ๐ OtpValidator
- ๐ณ CreditCardValidator
- ๐ ๏ธ CustomValidator
๐๏ธ Core #
- ValidationResult model.
- ValidationError enum.
- Exported public API.
๐งช Testing #
- Unit tests for all validators.
- Example project included.
๐ Features #
- Null safety support.
- Flutter support.
- Dart support.