dovetail_form_validation 0.1.1
dovetail_form_validation: ^0.1.1 copied to clipboard
Field validation for forms: seven composable rules, a builder to combine them, and failures that say which rule broke instead of a message the caller has to trust.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add dovetail_form_validationWith Flutter:
$ flutter pub add dovetail_form_validationThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
dovetail_form_validation: ^0.1.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:dovetail_form_validation/dovetail_form_validation.dart';