qr_terminal 1.1.1 copy "qr_terminal: ^1.1.1" to clipboard
qr_terminal: ^1.1.1 copied to clipboard

Print QRCodes in your terminal. Project was inspired by "qrcode-terminal" for javascript/node.

example/main.dart

import 'package:qr_terminal/qr_terminal.dart' as $qr_terminal;

void main(List<String> arguments) {
  // Generate a regular QR
  $qr_terminal.generate("Hello World!");
  print("");

  // Generate a small QR
  $qr_terminal.generate("Hello World!", small: true);
  print("");

  // Generate a QR specifying a QRCode type
  $qr_terminal.generate("Smol", typeNumber: 4);
  print("");

  // Generate a QR specifying a QRCode type and make it small
  $qr_terminal.generate("Smoller", typeNumber: 4, small: true);
  print("");
}
2
likes
140
pub points
46%
popularity

Publisher

verified publishercattaneo.uy

Print QRCodes in your terminal. Project was inspired by "qrcode-terminal" for javascript/node.

Repository (GitHub)
View/report issues

Documentation

API reference

License

GPL-3.0 (LICENSE)

Dependencies

qr

More

Packages that depend on qr_terminal