EyreFree / qrcoder

Yet another stupid flutter qrcode plugin.

Home Page:https://pub.dev/packages/qrcoder

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

qrcoder

pub package

Yet another stupid dart qrcode plugin, modified from qrcodejs & swift_qrcodejs.

Use

  1. Dependency

In your pubspec.yaml, add the following config:

dependencies:
   qrcoder: 0.2.0
  1. Generate

The method statement is as follows:

static Future<List<List<int>>> generateQRCodeMatrix(
	String text, {Encoding encoding = utf8, QRErrorCorrectLevel errorCorrectLevel = QRErrorCorrectLevel.H, bool hasBorder = true}
)

You can call this method liek this:

var matrix = await Qrcoder.generateQRCodeMatrix('2333', hasBorder: false);
print(matrix);

For more information, you can see the example project.

Author

EyreFree, eyrefree@eyrefree.org

License

This project is available under the MIT license. See the LICENSE file for more info.

About

Yet another stupid flutter qrcode plugin.

https://pub.dev/packages/qrcoder

License:MIT License


Languages

Language:Dart 82.2%Language:Ruby 9.1%Language:Kotlin 5.3%Language:Swift 2.0%Language:Objective-C 1.5%