id_doc_kit 0.0.6
id_doc_kit: ^0.0.6 copied to clipboard
Validate Indian ID documents (Aadhaar, PAN, GSTIN, Driving License, Voter ID, Passport) with structured results, checksum verification & flexible form widgets. Offline & privacy-safe.
0.0.6 — KYC Essentials #
- ✅ Added PIN code validator (India)
- ✅ Added Phone number validator (India)
- ✅ Added Email validator
- ✅ Added tests for new validators
- ✅ README updated with examples and demo link
0.0.4 #
✨ New Features #
- Added Voter ID (EPIC) validation
- Supports both 2–letter + 7 digits (e.g. AB1234567)
- And 3–letter + 7 digits (e.g. ABC1234567)
- Added Indian Passport validation
- Supports common format: 1 letter + 7 digits (e.g. A1234567)
🛠 Enhancements #
- Updated
IdDocumentTypeandIdValidatorto support new document types. - Improved README with updated examples and supported document list.
🧪 Testing #
- Added new test suites for:
- Voter ID validator
- Passport validator
0.0.3 #
✨ New Features #
- Added GSTIN validation (basic structure + state code check).
- Introduced a flexible ID field system:
idFormFieldValidatorfor customTextFormField.- Improved
IdTextFieldwith safe validation callbacks and better controller handling. - New
IdFieldbuilder for fully custom UI.
🧪 Testing & Quality #
- Added unit tests for:
- Aadhaar
- PAN
- Driving License
- GSTIN
- Improved error handling coverage in tests to match real validator behaviour.
🛠 Improvements #
- Refactored internal widget structure (single
id_fields.dartentrypoint). - Removed duplicate widget/typedef definitions.
- Fixed
setState()-during-build issue inIdTextField. - More consistent error codes and validation flow.
📱 Example App #
- Updated example app to demonstrate:
IdTextFieldwith PAN.TextFormField+idFormFieldValidatorfor GSTIN.IdFieldwith custom Aadhaar UI and live validation feedback.
0.0.2 #
- Minor internal refactors and clean-up.
0.0.1 – Initial Release #
- Initial support for:
- Aadhaar validation (with checksum).
- PAN validation.
- Driving License validation (basic format).
- Core
IdValidatorAPI. - Basic
IdTextFieldwidget.