form_validator_kit 0.1.0 copy "form_validator_kit: ^0.1.0" to clipboard
form_validator_kit: ^0.1.0 copied to clipboard

A lightweight and composable Flutter form validation package with built-in validators for email, phone, password, regex, and more.

Changelog #

All notable changes to this package will be documented in this file.

The format is based on Keep a Changelog, and this project follows semantic versioning.

0.1.0 #

Added #

  • Reusable PasswordInputField widget with show and hide toggle support
  • Live password strength indicator and validation hint chips
  • Confirm password matching support built into the widget
  • Caps lock warning styling for password entry flows
  • Widget tests covering visibility toggle, strength feedback, and password matching

0.0.1 #

Initial release.

Added #

  • FormValidator static API for reusable form validation
  • ValidatorFunction typedef for Flutter form field validators
  • Required validator with null, empty, and whitespace checks
  • Email validator with optional allowEmpty
  • Phone validator with optional allowEmpty
  • Minimum, maximum, and exact length validators
  • Password validator with configurable strength rules
  • Confirm password validator
  • Regex validator for custom pattern matching
  • URL validator for http and https links
  • Username validator with optional min and max length
  • Numeric validator with optional min and max bounds
  • combine() helper to chain validators and return the first error
  • Custom error message support across validators
  • Example Flutter app for manual testing
  • Unit test coverage for the package API
2
likes
160
points
33
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A lightweight and composable Flutter form validation package with built-in validators for email, phone, password, regex, and more.

Repository (GitHub)
View/report issues

Topics

#flutter #form #validation #utilities

License

MIT (license)

Dependencies

device_preview, flutter

More

Packages that depend on form_validator_kit