Coder Social home page Coder Social logo

eyadramzy / simple_barcode_scanner Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codingwithtashi/simple_barcode_scanner

0.0 0.0 0.0 5.34 MB

Simple Barcode Scanner

Home Page: https://pub.dev/packages/simple_barcode_scanner

License: MIT License

C++ 37.58% C 1.60% Objective-C 0.08% Kotlin 0.28% Dart 30.97% Swift 0.88% HTML 8.00% CMake 20.60%

simple_barcode_scanner's Introduction

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

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

simple_barcode_scanner's People

Contributors

codingwithtashi avatar massmarz avatar tashi146 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.