osamaasifoak/owesome_validator
A package for flutter for validation based on pure dart code, it will provide most of common validation like name, email, password, contact etc.
- Stars
- 5
- Forks
- 1
- Last push (UTC)
- Jan 24, 2022
- Project status
- Active
LanguagesDart
Technical topics
Dependencies used
Dependency list 2 items
- flutter
{"sdk":"flutter"} - flutter_testDevelopment
{"sdk":"flutter"}
Original README
English project snapshot. Visit GitHub for the latest content.
Expand / collapse project README
Owesome_validator ✔️
pub package
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