qr_image_generator 0.2.0 qr_image_generator: ^0.2.0 copied to clipboard
Generate and save QR Code Image. Just provide path and file name.
Generate and save QR Code Image.
Usage #
Future saveQRImage() async {
String? outputDir = await FilePicker.platform.getDirectoryPath();
if (outputDir == null) {
return;
}
final generator = QRGenerator();
await generator.generate(
data: data,
filePath: '$outputDir/hello.png',
scale: 10,
);
}
The Image will get saved to the provided filePath
.
TODO #
- ❌ Color Customization
- ❌ Add QR Code padding feature
- ❌ Add Logo
- ❌ Add Tests