meta_validator
一个整洁的实用工具,可专业地处理字符串验证。它支持 iOS、Android、Web 和 Linux 平台(当然也包括这些平台)。
abhishh1/meta_validator open-source repository details.
以下为英文项目原文快照,最新内容请访问 GitHub。
A tidy utility to handle validation of strings like a pro. It provides support for both iOS, Android, Web, Linux platforms (offcourse).
dependencies:
meta_validator: ^<latest_version>
🔥StrengthChecker.getPasswordStrength("some password")
🔥StrengthChecker.getPasswordValidations( password: "aaa", defaultTitle: "DEFAULT", mediumTitle: "MEDIUM", strongTitle: "STRONG", weakTitle: "WEAK");
🔥StringValidator.validateEmail("fake email")
🔥StringValidator.validatePostalCode("fake postal code")
🔥StringValidator.validateBlacklisted(["apple", "ball"], "ball")
😎 + 10 more string validators!
If you encounter any problems feel free to open an issue. If you feel the library is missing a feature, please raise a ticket on Github and I'll look into it. Pull request are also welcome.
依赖清单 4 项
{"sdk":"flutter"}^0.3.1{"sdk":"flutter"}^1.0.0先按使用场景筛选,再比较项目活跃情况,最后到原始仓库核对使用要求。
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗