simple_barcode_scanner 0.1.9 copy "simple_barcode_scanner: ^0.1.9" to clipboard
simple_barcode_scanner: ^0.1.9 copied to clipboard

simple_barcode_scanner that let you scan barcode and qr code in mobile, web and windows.

✊ We stand in solidarity with the Tibetan people in their struggle for freedom and cultural preservation. Learn more at Free Tibet.

simple_barcode_scanner #

simple_barcode_scanner that let you scan barcode and qr code in mobile,web and windows.

Demo #

Android IOS
drawing drawing
Window Web
drawing drawing

Credit #

  • This plugin is built upon the flutter_barcode_scanner for Android and iOS. Since the original plugin is no longer actively maintained, I have forked the repository and implemented additional features on top of it. Special thanks to Amol Gangadhare for his work.

Features #

  • Scan barcode in mobile devices using flutter_barcode_scanner
  • Scan barcode in web/window using html5-qrcode package

Installation and configuration #

Getting started #

simple_barcode_scanner: ^0.0.8

Import the library:

import 'package:simple_barcode_scanner/simple_barcode_scanner.dart';

Usage #

   ElevatedButton(
              onPressed: () async {
                var res = await Navigator.push(
                    context,
                    MaterialPageRoute(
                      builder: (context) => const SimpleBarcodeScannerPage(),
                    ));
                setState(() {
                  if (res is String) {
                    result = res;
                  }
                });
              },
              child: const Text('Open Scanner'),
            )

Todo #

  • Flash and switch camera are only available in mobile devices
  • Enhancement

Note #

Feel free to fork and send pull request. If you have any questions, feedback or ideas,You can create an issue. If you enjoy this project, I'd appreciate your 🌟 on GitHub.

You can also buy me a cup of coffee #

publish #

dart pub publish --dry-run
dart pub publish
165
likes
0
pub points
98%
popularity

Publisher

verified publisherkharagedition.com

simple_barcode_scanner that let you scan barcode and qr code in mobile, web and windows.

Repository (GitHub)
View/report issues

License

unknown (license)

Dependencies

flutter, flutter_plugin_android_lifecycle, path, permission_handler, web, webview_windows

More

Packages that depend on simple_barcode_scanner