qrcode_component 0.0.2 copy "qrcode_component: ^0.0.2" to clipboard
qrcode_component: ^0.0.2 copied to clipboard

QRCodeComponent is a Flutter widget that enables easy generation of QR codes within Flutter applications. It offers customizable options for QR code appearance, including colors, error correction leve [...]

example/main.dart

import 'package:flutter/material.dart';
import 'package:qrcode_component/qr_code.dart';

class MyQRScreen extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('QR Code Example'),
      ),
      body: Center(
        child: QRCodeComponent(
          qrdata: 'Your QR Code Data Here',
          qrCodeURL: (SafeUrl url) {
            print('QR Code URL: $url');
          },
        ),
      ),
    );
  }
}
4
likes
115
points
287
downloads

Publisher

verified publishergametech-horizon.com

Weekly Downloads

QRCodeComponent is a Flutter widget that enables easy generation of QR codes within Flutter applications. It offers customizable options for QR code appearance, including colors, error correction levels, and overlay images. The widget supports rendering QR codes as canvas, SVG, or image elements and provides accessibility features such as alternate text and ARIA labels.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, qr

More

Packages that depend on qrcode_component