uz_kit 0.1.2
uz_kit: ^0.1.2 copied to clipboard
Complete Flutter & Dart utility kit for Uzbekistan. Detects Uzcard/Humo cards, mobile operators, formats money to Uzbek words, phone numbers, and validates PINFL/Passports.
Changelog #
All notable changes to the uz_kit package will be documented in this file.
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, andMir. UzCardNumberFormatterfor automaticxxxx xxxx xxxx xxxxspacing in TextFields.UzCardExpiryFormatterforMM/YYinputs with past-date verification.- Card masking utility (e.g.,
8600 **** **** 1234). - Luhn checksum (Mod 10) algorithm validation.
- Auto-detection for
- 📞 Phone & Operator Utilities:
- Auto-detection for Uzbekistan mobile operators (
Beeline,Ucell,Mobiuz,Uztelecom,Humans,Perfectum). UzPhoneInputFormatterfor+998 (xx) xxx-xx-xxformat.- Normalization to standard 12-digit format
998901234567.
- Auto-detection for Uzbekistan mobile operators (
- 💰 Money & Currency:
UzMoneyToWords: Converts numerical amounts up to trillions into written words in Uzbek Latin and Cyrillic with tiyin support.UzMoneyFormatterandUzMoneyInputFormatterfor formatting currency with space separators.
- 🆔 Identity & Validation:
UzPinflValidatorandUzPinflInputFormatterfor 14-digit JShShIR with official checksum validation.UzPassportUtilsandUzPassportInputFormatterforAA 1234567series formatting and validation.UzTinValidatorfor 9-digit STIR (INN) validation.
- 📱 Example Application:
- Full interactive demo showcasing all features with Material 3 light and dark themes.
