onemanteam_validator 1.0.1
onemanteam_validator: ^1.0.1 copied to clipboard
A lightweight Flutter form validation library with built-in validators like email, phone, password, numeric and custom validator composition.
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add onemanteam_validatorThis will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):
dependencies:
onemanteam_validator: ^1.0.1Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.
Import it
Now in your Dart code, you can use:
import 'package:onemanteam_validator/onemanteam_validator.dart';