Skip to main content

pakdatakit_flutter 0.1.0 copy "pakdatakit_flutter: ^0.1.0" to clipboard
pakdatakit_flutter: ^0.1.0 copied to clipboard

Flutter widgets for Pakistani data: CNIC, phone and IBAN fields that format as you type, form validators, and a Raast payment QR code widget.

Changelog #

0.1.0 #

Initial release, built on pakdatakit 2.2.0.

  • CnicInputFormatter, PhoneInputFormatter and IbanInputFormatter: format as you type (35202-1234567-1, 0300-1234567, PK36 SCBL 0000 0011 2345 6702), keeping the caret after the same character. Backspace or Delete next to a separator removes the neighbouring character; pasted text and Urdu digits are handled.
  • PakValidators.cnic, .phone, .iban, .ntn, .strn and .landline for TextFormField.validator, with replaceable English messages.
  • CnicField, PhoneField and IbanField: form fields with the right formatter and keyboard, an onStateChanged callback with details once the value is valid, and errors shown only once the value is invalid (or the form is validated).
  • RaastQr: a Raast person-to-person payment QR code for an IBAN, painted with CustomPaint from the createRaastP2PQr payload.
0
likes
150
points
153
downloads

Documentation

Documentation
API reference

Publisher

verified publisherchaudhery.com

Weekly Downloads

Flutter widgets for Pakistani data: CNIC, phone and IBAN fields that format as you type, form validators, and a Raast payment QR code widget.

Repository (GitHub)
View/report issues
Contributing

Topics

#pakistan #validation #form #input-formatter #qr

License

MIT (license)

Dependencies

flutter, pakdatakit, qr

More

Packages that depend on pakdatakit_flutter