id_doc_kit 0.0.3
id_doc_kit: ^0.0.3 copied to clipboard
A structured toolkit for validating Indian ID documents (Aadhaar, PAN, Driving License) with rich result models and ready-to-use Flutter form field widgets.
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.