v3.0.0
validators
String validation and sanitization for Dart.
243Likes 136K30-day downloads140Pub points
AndroidiOSWebmacOSWindowsLinux
:turtle: String validation and sanitization for Dart.
English project snapshot. Visit GitHub for the latest content.
String validation and sanitization for Dart. Dart 2-compatible version of validator
Port of chriso's library.
1. Add dependency to your package's pubspec.yaml file:
dependencies:
validators: ^2.2.0 # change to latest version
2. Run from the command line:
$ pub get
Alternatively, your editor might support pub. Check the docs for your editor to learn more.
3. Import in your Dart code:
import 'package:validators/validators.dart';
Dependency list 1 items
^1.16.5Start with your use case, compare repository activity, and check the original project before adopting it.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗