iris_payment 0.3.0
iris_payment: ^0.3.0 copied to clipboard
Greek IRIS payment QR codes for Flutter. Validate AFM tax IDs, build and parse IRIS QR data, render styled QR widgets and export them as PNG.
0.3.0 #
- The widgets moved from
package:flutter/material.dartto material_ui. Flutter 3.47 deprecated its own Material library for the material_ui package, and the two have differentTheme,MaterialandCardtypes. An app on material_ui was not seen by the widgets: the invalid AFM text took its error color from a default theme, andIrisPaymentCardignored the app'sCardThemeData. - This is breaking for apps still on
package:flutter/material.dart: their theme is no longer read. Such apps stay oniris_payment: ^0.2.0until they move to material_ui. - Minimum Dart is now 3.13 and minimum Flutter 3.47, what material_ui needs.
- No other change to the API or the output.
0.2.0 #
IrisQrCodeandIrisPaymentCardnow takedataas well asafm, so dynamicIRISCOMQR codes can be shown too.afmis no longer required (pass one of the two).IrisPaymentCardlabels can be changed withtitle,afmLabel,scanLabelandinvalidText, so the card can be shown in Greek.scanLabel: nullhides the hint.IrisQrCodehasinvalidText,semanticsLabeland anirisDatagetter.- New
toPngBytes()onIrisDatato export a QR as PNG for printing or sharing. - New
AfmValidator.formValidatorfor use withTextFormField. - Minimum Flutter is now 3.27 (the package already used
Color.withValues, which older versions don't have). - Fixed doc examples that used an AFM with a wrong check digit.
- Shorter pubspec description so it fits on pub.dev.
0.1.1 #
- Updated
flutter_lintsdependency to^6.0.0.
0.1.0 #
- Initial release.
- AFM (Greek VAT number) validation with checksum verification.
- IRIS QR data string generation (
IRISTIN{AFM}format). IrisQrCodeFlutter widget with customizable size, colors, and error correction.- Optional center logo overlay support.
IrisPaymentCardready-to-use payment card widget with business name display.