upi_payment_qrcode_generator
Gerador de QR Code de Pagamento UPI para que os usuários escaneiem e paguem o valor especificado ao beneficiário ou o valor específico do usuário.
Gera o QR Code para Pagamento UPI Flutter
{"sdk":"flutter"}^4.1.0^1.0.0{"sdk":"flutter"}Texto original em inglês. Visite o GitHub para a versão atual.
This Plugin mainly focus on the generation of UPI Payment QRCode, so that the user can scan the QRCode for paying the specific amount of money using UPI.
https://user-images.githubusercontent.com/47639176/222973840-931fa9e8-c0e1-4ffe-812f-8018f84f44f5.png| UPI Payment QRCode without amount specified | UPI Payment QRCode with amount specified |
|---|---|
| https://user-images.githubusercontent.com/47639176/150126450-390c028a-9a8c-4a63-be2b-15b41a091a6e.jpeg | https://user-images.githubusercontent.com/47639176/150126345-fb291cd8-94e6-4fb0-88be-c65df5730d95.jpeg |
Use this plugin in Flutter app too:
| Android | iOS | MacOS | Web | Linux | Windows |
|---|---|---|---|---|---|
| ✔️ | ✔️ | ✔️ | ✔️ | ✔️ | ✔️ |
In the dependencies: section of your pubspec.yaml, add the following line:
dependencies:
upi_payment_qrcode_generator: <latest_version>
Import the Package:
import 'package:upi_payment_qrcode_generator/upi_payment_qrcode_generator.dart';
Create UPIDetails Object.
final upiDetails = UPIDetails(upiID: "UPI ID", payeeName: "Payee Name", amount: 1);
Here, UPIDetails contains requires a set of properties where,
NOTE: UPI Transaction will operate only in INR.
Include this widget in you Widget Tree
UPIPaymentQRCode(upiDetails: upiDetails, size: 200,),
Here, UPIPaymentQRCode contains requires a set of properties,
Include this widget in you Widget Tree
UPIPaymentQRCode(
upiDetails: upiDetails,
size: 200,
embeddedImagePath: 'assets/images/logo.png',
embeddedImageSize: const Size(60, 60),
),
Here, UPIPaymentQRCode contains requires a set of properties,
Don't Forget to give Star and Like 🚀