utils_validators 1.2.2
utils_validators: ^1.2.2 copied to clipboard
A Dart package that provides useful validators such as a name validator.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add utils_validatorsWith Flutter:
$ flutter pub add utils_validatorsThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
utils_validators: ^1.2.2Alternatively, 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:utils_validators/utils_validators.dart';