king_validation 1.2.0 copy "king_validation: ^1.2.0" to clipboard
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.md with Quick Start examples.
  • Added standalone validator examples.
  • Added Flutter Form Validator examples.
  • Added ValidationResult usage 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 messages parameter.
  • ๐Ÿ—๏ธ 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.
1
likes
160
points
15
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A lightweight Flutter and Dart validation package with standalone validators, Form Validators, custom validation messages, and RegExp-based validation.

Repository (GitHub)
View/report issues

Topics

#validation #validator #form #flutter #dart

License

MIT (license)

Dependencies

flutter

More

Packages that depend on king_validation