Last updated:
0 purchases
qr image generator
Generate and save QR Code Image.
Basic Usage #
final generator = QRGenerator();
await generator.generate(
data: 'Hello World!',
filePath: '$outputDir/hello.png',
);
copied to clipboard
Full Usage #
Future saveQRImage() async {
final generator = QRGenerator();
await generator.generate(
data: 'Hello World!',
filePath: '$outputDir/hello.png',
scale: 10,
foregroundColor: Colors.yellow,
backgroundColor: Colors.blue,
errorCorrectionLevel: ErrorCorrectionLevel.medium,
qrVersion: 4,
);
}
copied to clipboard
The Image will get saved to the provided filePath.
TODO #
❌ Add Transperency Support
❌ Write Documentation
❌ Add Image in Qr Code
❌ Add Tests
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.