all_validations_br
5.0.2, released 4 months ago by opensource.tatamemaster.com.br
Complete Flutter toolkit for Brazilian validations, form masks, logging, and cryptography.
WASM-ready
What it does
Provides an aggregated toolkit for Brazilian applications in Flutter, bundling document validations, input formatters and masks, typed results, structured logging, and authenticated cryptography into a single dependency.
AI-written summary of version 5.0.2, based on the package's README and metadata. Report an inaccuracy
Use it when
- Building a Flutter application that targets Brazilian users and requires document validation or input masks.
- Needing multiple ecosystem modules like Brazilian validation rules, masks, structured logging, and cryptography together in a Flutter app.
Skip it when
- Building a pure Dart project, as this package adds Flutter to the dependency graph.
- Only needing a single independent feature such as a simple email validator or color picker.
Strengths
- Combines five official ecosystem modules under a single dependency.
- Provides built-in input formatters and validation rules for common Brazilian documents and fields.
- Preserves historical imports and provides gradual migration paths.
Weaknesses
- Pulls in multiple bundled dependencies that might be unnecessary if only one feature is needed.
- Logger does not remove sensitive data automatically.
Setup
- Kind
- Flutter widgets
- Effort
- Low
- Code generation
- No
- Direct dependencies
- 5
Simply add the package to your pubspec.yaml dependencies and import it.
final cpfValido = AllValidations.isCpf('529.982.247-25');
final documento = BrFormatter.formatCpf('52998224725');
final validator = BrZod().required().cpf().build;
final mensagem = validator('529.982.247-25');Alternatives
Packages that do the same job and could replace all_validations_br.
- email_validator
If you only need basic email validation instead of a complete Brazilian toolkit.
50Compare