Skip to content
pubscout

Compare

The strongest value in each row is marked.

Attributebr_validators

Validation functions and input masks for common Brazilian documents and data.

pub.devRemove
cpf_cnpj_validator

Validate, format, strip and generate Brazilian CPF and CNPJ numbers.

pub.devRemove
ScoresHealth58 (best)50
Maintenance43 (best)0
Quality9396 (best)
Popularity2370 (best)
Community46 (best)28
Compatibility100100
UsageDownloads (30 days)1.9k30k (best)
Likes881 (best)
Pub points150 / 160150 / 160
GitHub stars354 (best)
MaintenanceLatest release3.1.2, 5 months ago (best)2.0.0, 6 years ago
Major versions in 12 months10 (best)
Contributors25 (best)
Publishernatanlimap.com.brUnverified
FitPlatformsAndroid, iOS, Web, Windows, macOS, LinuxAndroid, iOS, Web, Windows, macOS, Linux
WASM-readyYesYes
KindFlutter widgetsFlutter widgets
Code generationNoNo
Direct dependencies11
LicenseMITMIT
Setup effortLowLow
JudgementStrengths
  • Supports a wide range of Brazilian documents, including recent standards like alphanumeric CNPJ and PIX keys.
  • Includes ready-to-use input formatters for TextField widgets.
  • Comprehensive coverage of state-level data like Inscrição Estadual (IE) for all 27 states.
  • Simple and straightforward static API methods.
  • Supports both validation and generation of CPF and CNPJ.
  • Null safety supported in version 2.0.0.
Weaknesses
  • Strictly localized to Brazil, offering no utility for international validation or formatting.
  • Limited in scope strictly to Brazilian CPF/CNPJ numbers.
  • No built-in UI form field widgets provided out of the box.
WarningsNoneNone
br_validators vs cpf_cnpj_validator: which Flutter package should you use? | pubscout