pro_validator 3.0.0
pro_validator: ^3.0.0 copied to clipboard
Composable, callable validators for Dart and Flutter: text, number and date validators, one-line custom checks, whole-model validation and 40+ string format checkers.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add pro_validatorWith Flutter:
$ flutter pub add pro_validatorThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
pro_validator: ^3.0.0Alternatively, 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:pro_validator/pro_validator.dart';