meta_validator 0.0.2 meta_validator: ^0.0.2 copied to clipboard
A tidy utility to handle validation of strings like a pro. It provides support for both iOS, Android, Web, Linux platforms (offcourse).
Use this package as a library
Depend on it
Run this command:
With Flutter:
$ flutter pub add meta_validator
This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get
):
dependencies:
meta_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:meta_validator/meta_validator.dart';