Skip to main content

uz_kit 0.2.0 copy "uz_kit: ^0.2.0" to clipboard
uz_kit: ^0.2.0 copied to clipboard

Complete Flutter & Dart utility kit for Uzbekistan. Bank BIN lookup, Uzcard/Humo cards, payment deep links, license plates, mobile operators, money to words, and PINFL/Passports.

Changelog #

All notable changes to the uz_kit package will be documented in this file.

0.2.0 - 2026-11-10 #

Added #

  • 💳 Bank BIN Lookup (UzBankUtils & UzBank):
    • Detect commercial bank by 6-8 digit BIN prefix (Kapitalbank, TBC, Anorbank, Ipak Yo'li, SQB, NBU, Hamkorbank, Uzum Bank, etc.).
    • Access bank official name, short name, brand color, website, and code.
    • Integration with UzCardUtils.detectBank(cardNumber).
  • 🔗 Payment Deep Links & Checkouts (UzPayHelper):
    • Generate checkout web URLs and mobile app deep links for Click (clickuz://), Payme (payme://), and Uzum Pay (uzumbank://).
    • Automatic Base64 encoding and so'm to tiyin conversion for Payme.
  • 🚗 Vehicle License Plates (UzCarPlateUtils & UzCarPlateInputFormatter):
    • Support for individual (01 A 777 AA) and legal entity (01 777 AAA) plates.
    • Automatic region identification across all 14 Uzbekistan administrative regions.
    • Real-time TextInputFormatter with automatic spacing and Cyrillic lookalike autocorrection.
  • 🆔 PINFL Metadata Extraction (UzPinflValidator.parse):
    • Extract birth date (DateTime), gender (UzPinflGender.male / UzPinflGender.female), and age in full completed years from 14-digit JShShIR.
  • 📍 Administrative Regions & Districts (UzRegions):
    • Complete database of 14 regions and 200+ districts/cities of Uzbekistan.
    • Cascade selection helpers (getDistricts(regionId)), region codes, and bilingual search.
  • 🎨 Fintech Credit Card UI Widget (UzCreditCardWidget):
    • Interactive, 3D flippable credit card with realistic metallic EMV chip, NFC wave icon, magnetic back stripe, and CVV signature strip (hidden for Uzcard/Humo).
    • Authentic branding for Visa, Mastercard, Uzcard, and Humo.
    • Automatic bank and card type color gradient adaptation.
  • 📷 Card Scanner & OCR (UzCardScanner & showUzCardScanner):
    • Extract 16-digit PAN, expiry date (MM/YY), 3-digit CVV (for Visa/Mastercard), and cardholder name.
    • Interactive laser viewfinder dialog with manual fallback and 1-tap testing presets.
  • 📡 NFC EMV Parser (UzEmvNfcParser & UzNfcCardData):
    • Parse Track 2 Equivalent Data (Tag 57) and raw TLV APDU bytes from contactless chips (Humo, Uzcard NFC, Visa, Mastercard).
  • Comprehensive test coverage (49 tests) and updated bilingual documentation.

0.1.2 - 2026-11-06 #

Fixed #

  • README and README_UZ examples now use the real API. Earlier examples called methods that do not exist (getCardType, formatPhoneNumber, getOperator, UzMoneyWords.toWords, UzIdentityUtils.*, UzPhoneNumberFormatter), so copy-pasted snippets did not compile.
  • PINFL example now uses a number that passes the checksum.
  • Install snippet points to the current version.

Added #

  • test/readme_examples_test.dart: every output shown in the READMEs is asserted, including PINFL, Luhn and all seven input formatters, which had no tests before.
  • Input formatter reference table and pub.dev screenshot.

0.1.1 - 2026-09-02 #

Added #

  • Add Uzbek documentation (README_UZ.md) and language switcher buttons.
  • Improve documentation and examples.

0.1.0 - 2026-09-02 #

Added #

  • 💳 Card Utilities:
    • Auto-detection for Uzcard, Humo, Visa, Mastercard, UnionPay, and Mir.
    • UzCardNumberFormatter for automatic xxxx xxxx xxxx xxxx spacing in TextFields.
    • UzCardExpiryFormatter for MM/YY inputs with past-date verification.
    • Card masking utility (e.g., 8600 **** **** 1234).
    • Luhn checksum (Mod 10) algorithm validation.
  • 📞 Phone & Operator Utilities:
    • Auto-detection for Uzbekistan mobile operators (Beeline, Ucell, Mobiuz, Uztelecom, Humans, Perfectum).
    • UzPhoneInputFormatter for +998 (xx) xxx-xx-xx format.
    • Normalization to standard 12-digit format 998901234567.
  • 💰 Money & Currency:
    • UzMoneyToWords: Converts numerical amounts up to trillions into written words in Uzbek Latin and Cyrillic with tiyin support.
    • UzMoneyFormatter and UzMoneyInputFormatter for formatting currency with space separators.
  • 🆔 Identity & Validation:
    • UzPinflValidator and UzPinflInputFormatter for 14-digit JShShIR with official checksum validation.
    • UzPassportUtils and UzPassportInputFormatter for AA 1234567 series formatting and validation.
    • UzTinValidator for 9-digit STIR (INN) validation.
  • 📱 Example Application:
    • Full interactive demo showcasing all features with Material 3 light and dark themes.
2
likes
150
points
537
downloads
screenshot

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Complete Flutter & Dart utility kit for Uzbekistan. Bank BIN lookup, Uzcard/Humo cards, payment deep links, license plates, mobile operators, money to words, and PINFL/Passports.

Repository (GitHub)
View/report issues

Topics

#uzbekistan #fintech #uzcard #formatters #validation

License

MIT (license)

Dependencies

flutter

More

Packages that depend on uz_kit