श्रेणियाँ, पैकेज और रिपॉज़िटरी खोजें

simple_barcode_scanner कवर
पैकेज विवरणv0.6.1

simple_barcode_scanner

simple_barcode_scanner आपको मोबाइल, वेब और विंडोज पर बारकोड और क्यूआर कोड स्कैन करने देता है।

AndroidiOSWebWindows
30-दिन डाउनलोड
10 हज़ार
लाइक
217
Pub अंक
150

पैकेज इंस्टॉल करें

flutter pub add simple_barcode_scanner

पैकेज अवलोकन

सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।

एक हल्का फ्लटर पैकेज जो एंड्रॉइड, आईओएस, वेब और विंडोज प्लेटफॉर्म पर बारकोड और क्यूआर कोड स्कैन करता है। इसमें जटिल सेटअप के बिना ऐप में स्कैनिंग कार्यक्षमता को एकीकृत करने के लिए एक सीधा-सादा इंटरफ़ेस प्रदान करता है। सरलता के लिए बनाया गया, यह मूल कैमरा एक्सेस का उपयोग करता है और न्यूनतम कॉन्फ़िगरेशन के साथ रियल-टाइम स्कैनिंग समर्थन करता है। त्वरित और विश्वसनीय कोड पढ़ने की आवश्यकता वाले एप्लिकेशन के लिए आदर्श है।

उपयोग

  • इन्वेंटरी प्रबंधन
  • भुगतान प्रसंस्करण
  • टिकट प्रमाणीकरण
  • उपयोगकर्ता प्रमाणीकरण
  • उत्पाद जानकारी खोज

मुख्य विशेषताएँ

  • क्रॉस-प्लेटफ़ॉर्म समर्थन
  • सरल API एकीकरण
  • रियल-टाइम स्कैनिंग
  • हल्का निर्भरता
  • कैमरा-आधारित डिटेक्शन

इनके लिए उपयुक्त

  • मोबाइल ऐप विकासकर्ता
  • वेब एप्लिकेशन निर्माता
  • डेस्कटॉप ऐप इंटीग्रेटर्स
  • रिटेल और लॉजिस्टिक्स ऐप्स
  • घटना टिकटिंग प्रणाली

विचार योग्य बातें

  • मोबाइल पर कैमरा की अनुमति की आवश्यकता है
  • सीमित कस्टमाइजेशन विकल्प
  • ऑफलाइन मोड समर्थन नहीं है
  • उपकरण कैमरा गुणवत्ता पर निर्भर करता है
  • प्लेटफॉर्म-विशिष्ट कॉन्फ़िगरेशन की आवश्यकता हो सकती है

मूल README

संबंधित सोर्स रिपॉज़िटरी के मूल README का स्नैपशॉट। नवीनतम सामग्री के लिए रिपॉज़िटरी देखें।

✊ 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.3.1

Import the library:

import 'package:simple_barcode_scanner/simple_barcode_scanner.dart';

Usage

  1. To scan barcode
   ElevatedButton(
              onPressed: () async {

String? res = await SimpleBarcodeScanner.scanBarcode(
                  context,
                  barcodeAppBar: const BarcodeAppBar(
                    appBarTitle: 'Test',
                    centerTitle: false,
                    enableBackButton: true,
                    backButtonIcon: Icon(Icons.arrow_back_ios),
                  ),
                  isShowFlashIcon: true,
                  delayMillis: 2000,
                  cameraFace: CameraFace.front,
                );
                setState(() {
                  result = res as String;
                });
              },
              child: const Text('Open Scanner'),
            )
  1. To stream barcode
   ElevatedButton(
              onPressed: () async {

                SimpleBarcodeScanner.streamBarcode(
                  context,
                  barcodeAppBar: const BarcodeAppBar(
                    appBarTitle: 'Test',
                    centerTitle: false,
                    enableBackButton: true,
                    backButtonIcon: Icon(Icons.arrow_back_ios),
                  ),
                  isShowFlashIcon: true,
                  delayMillis: 2000,
                ).listen((event) {
                  print("Stream Barcode Result: $event");
                });
              },
              child: const Text('Open Scanner'),
            )
  1. To Scan with widget(Android Only)
   SizedBox(
                width: 200,
                height: 200,
                child: SimpleBarcodeScanner(
                  scaleHeight: 200,
                  scaleWidth: 400,
                  onScanned: (code) {
                    setState(() {
                      result = code;
                    });
                  },
                  continuous: true,
                  onBarcodeViewCreated: (BarcodeViewController controller) {
                    this.controller = controller;
                  },
                )),

Todo

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

Note

Feel free to fork and send pull request.

  • iOS support may be delayed as I currently do not have access to an iOS device for testing. Contributions and testing help from the community are welcome!
  • 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

श्रेणियाँ

निर्भरताएँ

निर्भरता सूची 5 आइटम

सोर्स रिपॉज़िटरी

इस पैकेज का उपयोग करने वाले प्रोजेक्ट