Giter Site home page Giter Site logo

Can't scan QR about dart_barcode HOT 7 CLOSED

davbfr avatar davbfr commented on June 3, 2024
Can't scan QR

from dart_barcode.

Comments (7)

DavBfr avatar DavBfr commented on June 3, 2024

You need a white or light color margin around the QRCode in order to make it readable. Otherwise the reader can't find the beginning of the matrix.

from dart_barcode.

purushottamyadavbattula avatar purushottamyadavbattula commented on June 3, 2024

Still not working I added the margin
Screenshot 2020-06-25 at 5 52 04 AM
Screenshot 2020-06-25 at 5 55 27 AM

from dart_barcode.

DavBfr avatar DavBfr commented on June 3, 2024

You inversed the colors? The readers expect the small squares in the 3 corners to be filled black. You can't change the colors. https://en.wikipedia.org/wiki/QR_code

from dart_barcode.

purushottamyadavbattula avatar purushottamyadavbattula commented on June 3, 2024

No, I am not inversing any colors,
Container( color: Colors.black, Container( decoration: BoxDecoration( border: Border.all(color: Colors.white), ), child: BarcodeWidget( color: Colors.white, height: 100, width: 100, barcode: Barcode.qrCode(), data: 'https"//csedata-cdb17.firebaseapp.com', ), ), ),

from dart_barcode.

purushottamyadavbattula avatar purushottamyadavbattula commented on June 3, 2024

Wow working now, I think I have to inverse and nullify the background colors, Thank for the article and quick response (appreciated)
Screenshot 2020-06-25 at 7 39 34 AM
Container( color:black,Container( decoration: BoxDecoration( border: Border.all(color: Colors.white), ), child: Container( color: Colors.white, child: BarcodeWidget( color: Colors.black, height: 100, width: 100, barcode: Barcode.qrCode(), data: link, //'https"//csedata-cdb17.firebaseapp.com', ), ), ),),

from dart_barcode.

Leoudayan avatar Leoudayan commented on June 3, 2024

Can you post the code for the scan? I can only see the code for generation but not scanning :(

from dart_barcode.

DavBfr avatar DavBfr commented on June 3, 2024

@Leoudayan This plugin can only create barcodes, not scan them.

from dart_barcode.

Related Issues (20)

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.