easy_form_validator 0.0.2 easy_form_validator: ^0.0.2 copied to clipboard
The easy_form_validation package streamlines form validation in Flutter, covering essentials like empty fields, emails, dates of birth, and phone numbers. It also includes Aadhaar card validation, enh [...]
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add easy_form_validator
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
easy_form_validator: ^0.0.2
Alternatively, 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:easy_form_validator/easy_form_validator.dart';