form_guard 0.0.1
form_guard: ^0.0.1 copied to clipboard
A lightweight and customizable Dart form validation package for email, passwords, required fields, length checks, matching values, and more.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add form_guardWith Flutter:
$ flutter pub add form_guardThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
form_guard: ^0.0.1Alternatively, 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:form_guard/form_guard.dart';