flutter_qr_reader 0.0.4 copy "flutter_qr_reader: ^0.0.4" to clipboard
flutter_qr_reader: ^0.0.4 copied to clipboard

outdated

QR code (scan QRCode and picture) recognition (AndroidView/UiKitView)

flutter_qr_reader #

QR code (scan code / picture) recognition (AndroidView/UiKitView)

DEMO #

demo

demo

Getting Started #

import 'package:flutter_qr_reader/flutter_qr_reader.dart';

Built-in UI #

Widget build(BuildContext context) {
    return new Scaffold(
      body: QrcodeReaderView(onScan: onScan),
    );
}

Future onScan(String data) async {
    await showCupertinoDialog(
      context: context,
      builder: (context) {
        return CupertinoAlertDialog(
          title: Text("扫码结果"),
          content: Text(data),
          actions: <Widget>[
            CupertinoDialogAction(
              child: Text("确认"),
              onPressed: () => Navigator.pop(context),
            )
          ],
        );
      },
    );
}
78
likes
0
pub points
91%
popularity

Publisher

unverified uploader

QR code (scan QRCode and picture) recognition (AndroidView/UiKitView)

Repository (GitHub)
View/report issues

License

unknown (LICENSE)

Dependencies

flutter, image_picker

More

Packages that depend on flutter_qr_reader