i_validator 1.0.7
i_validator: ^1.0.7 copied to clipboard
i_validator package provides a collection of common validation utilities such as email, password, phone number, OTP, and required fields validation. It also includes custom validation for confirm pass [...]
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add i_validatorWith Flutter:
$ flutter pub add i_validatorThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
i_validator: ^1.0.7Alternatively, 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:i_validator/i_validator.dart';