Skip to content

Manty-K/QR-Image-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

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

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published