id_card_formatter 0.0.33 copy "id_card_formatter: ^0.0.33" to clipboard
id_card_formatter: ^0.0.33 copied to clipboard

A lightweight Flutter/Dart extension to format ID numbers (Generic Formatter, NIDA, phone number, Voter ID, and NCARD card style). Also supports currency formatting and customizable generic ID formats..

Changelog #

0.0.33 Add Phone Number Formatter #

  • Added phoneFormat method to format phone numbers into readable groups (e.g. 255123456789 → (+255) 123 456 789).
  • Included usage example in documentation and improved formatter coverage.

0.0.32 Remove Linter Rules #

  • Removed strict linter rules to improve compatibility and reduce build warnings in consuming projects.

0.0.31 Update Changelog #

  • Refactored Tanzanian ID formatting logic for better accuracy and maintainability.

0.0.30 Add Generic Formatter #

  • Introduced genericIdFormat: formats a string using a user-defined pattern like "XXX-XXX-XXX".
  • Added DartDoc comments to improve documentation coverage and API readability.

0.0.25 Compatibility Update #

  • Updated to support Dart SDK >=2.17.0 <4.0.0 and Flutter SDK >=2.0.0.
  • Ensured full null safety compatibility.

0.0.24 Dart 3 Support #

  • Official support for Dart 3.0.0.

0.0.23 Maintenance & Breaking Changes #

  • General code cleanup and minor optimizations.
  • Breaking Changes: Please review updated formatting methods.

0.0.22 Maintenance #

  • Routine cleanup and stability updates.

0.0.21 README Improvements #

  • Improved documentation for better clarity and usage examples.

0.0.2 Remove intl Dependency #

  • Removed dependency on the intl package to reduce size and simplify the package.

0.0.1 Initial Release #

  • First release of the package.
  • Added support for formatting NIDA, Voter, and NCard IDs.
  • Included basic currency formatting for double values.
0
likes
150
points
51
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

A lightweight Flutter/Dart extension to format ID numbers (Generic Formatter, NIDA, phone number, Voter ID, and NCARD card style). Also supports currency formatting and customizable generic ID formats..

Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter

More

Packages that depend on id_card_formatter