Flux Validator Dart #
A package to validate strings and input data for dart.
Getting Started #
Add to your
dependencies: flux_validator_dart: <lastest-version>
And then run
# pub get in your terminal.
How to use #
Validator.email(value) // returns bool
Validator Options #
Mercosul car plate #
Ex: AAA-0000 or AAA-0A00
Brazilian CEP #
Brazilian CNH #
Brazilian CNPJ #
Brazilian CPF #
Brazilian CPF & CNPJ
dd/mm/yyyy Date #
Brazilian Phone #
Ex: +55 (11) 0 0000-0000
Brazilian Renavam #
All notable changes to this project will be documented in this file.
[1.0.3] - 2019-09-23
[1.0.2] - 2019-09-23
[1.0.0] - 2019-09-23
- Initial Package published.
A new Flutter project.
Getting Started #
This project is a starting point for a Flutter application.
A few resources to get you started if this is your first Flutter project:
For help getting started with Flutter, view our online documentation, which offers tutorials, samples, guidance on mobile development, and a full API reference.
Use this package as a library
1. Depend on it
Add this to your package's pubspec.yaml file:
dependencies: flux_validator_dart: ^1.0.3
2. Install it
You can install packages from the command line:
$ pub get
$ flutter pub get
Alternatively, your editor might support
pub get or
flutter pub get.
Check the docs for your editor to learn more.
3. Import it
Now in your Dart code, you can use:
Describes how popular the package is relative to other packages. [more]
Code health derived from static analysis. [more]
Reflects how tidy and up-to-date the package is. [more]
Weighted score of the above. [more]
We analyzed this package on Feb 10, 2020, and provided a score, details, and suggestions below. Analysis was completed with status completed using:
- Dart: 2.7.1
- pana: 0.13.5
Health issues and suggestions
Document public APIs. (-1 points)
33 out of 33 API elements have no dartdoc comment.Providing good documentation for libraries, classes, functions, and other API elements improves code readability and helps developers find and use your API.
|Dart SDK||>=2.0.0 <3.0.0|