qr_image_generator 0.2.9 copy "qr_image_generator: ^0.2.9" to clipboard
qr_image_generator: ^0.2.9 copied to clipboard

Generate and save QR Code Image. Just provide path and file name.

Generate and save QR Code Image.

Package usage demo

Basic Usage #


    final generator = QRGenerator();

    await generator.generate(
      data: 'Hello World!',
      filePath: '$outputDir/hello.png',
    );

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,
    );
  }

The Image will get saved to the provided filePath.


TODO #

  • ❌ Add Transperency Support
  • ❌ Write Documentation
  • ❌ Add Image in Qr Code
  • ❌ Add Tests
14
likes
150
points
350
downloads

Publisher

verified publishermanthankhandale.com

Weekly Downloads

Generate and save QR Code Image. Just provide path and file name.

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (license)

Dependencies

flutter, image, qr

More

Packages that depend on qr_image_generator