pdfcraft_qrcode 1.2.1 copy "pdfcraft_qrcode: ^1.2.1" to clipboard
pdfcraft_qrcode: ^1.2.1 copied to clipboard

Static and Dynamic QR Code engine for the PDFCraft ecosystem.

example/pdfcraft_qrcode_example.dart

// ignore_for_file: avoid_print
import 'package:pdfcraft_core/pdfcraft_core.dart';
import 'package:pdfcraft_generator/pdfcraft_generator.dart';
import 'package:pdfcraft_qrcode/pdfcraft_qrcode.dart';

void main() {
  // Register the QR code renderer plugin
  GeneratorRegistry.instance.register(QrCodeRenderer());

  const qrField = FieldSchema(
    id: 'verification_qr',
    type: 'qrcode',
    x: 400,
    y: 700,
    width: 100,
    height: 100,
    data: {
      'data': 'https://pdfcraft.dev/verify/12345',
      'color': '#0F172A',
    },
  );

  print('Registered QrCodeRenderer and configured field: ${qrField.id}');
}
0
likes
160
points
229
downloads

Documentation

API reference

Publisher

verified publisherbytebunkers.in

Weekly Downloads

Static and Dynamic QR Code engine for the PDFCraft ecosystem.

Homepage
Repository (GitHub)
View/report issues

License

MIT (license)

Dependencies

flutter, pdf, pdfcraft_core, pdfcraft_generator

More

Packages that depend on pdfcraft_qrcode