owesome_validator 0.0.5 owesome_validator: ^0.0.5 copied to clipboard
A package for flutter for validation based on pure dart code, it will provide most of common validation like name, email, password, contact etc.
Owesome_validator ✔️ #
A flutter package for make your life easy. This package is used for validation.
Show some ❤️ and star the repo to support the project
This Package is open for contributions.
Usage #
To use this plugin, add owesome_validator
as a dependency in your pubspec.yaml file.
Getting Started #
-
First import a package into your file.
-
After importing, we are able to get the built-in methods
- Name Validation 📛
OwesomeValidator.name(name, OwesomeValidator.patternNameOnlyChar);
- Email Validation ✉️
OwesomeValidator.email(email, OwesomeValidator.patternEmail);
- Phone Validation 📞
OwesomeValidator.phone(phone, OwesomeValidator.patternPhone);
- password 🔑
OwesomeValidator.password(password, OwesomeValidator.passwordMinLen8withCamelAndSpecialChar)
- Name Validation 📛
Note #
You can pass your custom regex for validation. This package will be improved more by time to time