formrules 1.0.1
formrules: ^1.0.1 copied to clipboard
A fluent, chainable Flutter form validator with a conflict-free static API, built-in rules, full localization support, and zero third-party dependencies.
Use this package as a library
Depend on it
Run this command:
With Dart:
$ dart pub add formrulesWith Flutter:
$ flutter pub add formrulesThis will add a line like this to your package's pubspec.yaml (and run an implicit dart pub get):
dependencies:
formrules: ^1.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:formrules/formrules.dart';