awesome_validator
一个用于 Flutter 的验证包,基于纯 Dart 代码实现,提供大多数常见的验证功能,如姓名、电子邮件、密码、联系方式等。
- 星标
- 5
- 复刻
- 1
- 最近推送(UTC)
- 2022年1月24日
- 项目状态
- 未归档
原始 README
以下为英文项目原文快照,最新内容请访问 GitHub。
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
语言Dart
分类
使用的依赖
依赖清单 2 项
- flutter
{"sdk":"flutter"} - flutter_test开发依赖
{"sdk":"flutter"}
如何选择适合项目的代码仓?
先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
- 通过仓库名、作者或描述搜索,再按技术分类缩小范围。
- 结合星标、复刻与最近推送比较项目;星标反映社区关注,不代表质量保证。
- 使用前在 GitHub 核对 README、许可证与 Issues。
来源与维护
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗