qr_terminal 1.1.1 qr_terminal: ^1.1.1 copied to clipboard
Print QRCodes in your terminal. Project was inspired by "qrcode-terminal" for javascript/node.
qr_terminal #
Print QRCodes in your terminal.
Project was inspired by qrcode-terminal for javascript/node.
Pub package #
Install with Dart
dart pub add qr_terminal
Or with Flutter
flutter pub add qr_terminal
Then import this module
import 'package:qr_terminal/qr_terminal.dart' as $qr_terminal;
Usage #
Generate a regular QR #
$qr_terminal.generate("Hello World!");
Generate a small QR #
$qr_terminal.generate("Hello World!", small: true);
Generate a QR specifying a QRCode type #
$qr_terminal.generate("Smol", typeNumber: 4);
Generate a QR specifying a QRCode type and make it small #
$qr_terminal.generate("Smoller", typeNumber: 4, small: true);
License #
GNU GPL v3