validators2 3.0.0 copy "validators2: ^3.0.0" to clipboard
validators2: ^3.0.0 copied to clipboard

String validation and sanitization for Dart. This implementation is a place holder until the project authors have time to release an nnbd version.

Use this package as a library

Depend on it

Run this command:

With Dart:

 $ dart pub add validators2

With Flutter:

 $ flutter pub add validators2

This will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):

dependencies:
  validators2: ^3.0.0

Alternatively, your editor might support dart pub get or flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:validators2/sanitizers.dart';
import 'package:validators2/validators.dart';
7
likes
120
pub points
83%
popularity

Publisher

verified publisheronepub-web.flutter-io.cn

String validation and sanitization for Dart. This implementation is a place holder until the project authors have time to release an nnbd version.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (LICENSE)

Dependencies

vin_decoder

More

Packages that depend on validators2