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

A simple QR Scanner style overlay to be used with a stack ( and a camera scanner )

example/example.md

Importing the package #

import 'package:qr_scanner_overlay/qr_scanner_overlay.dart';

Usage #

return Scaffold(
      body: Stack(
        children: [
          MobileScanner(
            controller: cameraConroller,
            onDetect: (capture) {
                // do something
          },),
          QRScannerOverlay(imagePath: "images/test.jpg",)
        ],
      ),
    );
QRScannerOverlay(overlayColor: Colors.black.withOpacity(0.5),)

Additional Parameters #

scanAreaSize or scanAreaWidth/scanAreaHeight
borderColor
borderRadius
borderStrokeWidth

//Example QrScanner
QrScannerOverlay(scanWidth: 300, scanHeight: 300, borderColor: Colors.red);
8
likes
150
pub points
92%
popularity

Publisher

unverified uploader

A simple QR Scanner style overlay to be used with a stack ( and a camera scanner )

Repository (GitHub)
View/report issues

Documentation

API reference

License

BSD-3-Clause (LICENSE)

Dependencies

flutter

More

Packages that depend on qr_scanner_overlay