Comments (5)
if you wrap the barcode widget with Material() it works.
from dart_barcode.
This must be something else in your app, there are no reasons for it to not work.
from dart_barcode.
I've made several attempts and I don't think it's related to my code
I tried to recreate the error in a simple page with Scaffold widget and the error persists
My code:
import 'package:barcode_widget/barcode_widget.dart';
import 'package:flutter/material.dart';
class Test extends StatelessWidget {
@override
Widget build(BuildContext context) {
return SafeArea(
child: Scaffold(
body: Center(
child: FittedBox(
child: GestureDetector(
child: BarcodeWidget(
data: "7482734KINDJKF",
barcode: Barcode.code39(),
),
onTap: () {
print("test");
},
),
),
),
),
);
}
}
This time I tried on an iPhone 11 Pro Max simulator
from dart_barcode.
I confirm that using the Material() widget, gestures are detected
from dart_barcode.
Fixed in barcode_widget-1.2.2. No need for Material() anymore.
Don't hesitate to Buy Me A Coffee.
from dart_barcode.
Related Issues (20)
- Barcode 128 wrong HOT 2
- The generated data is incorrect HOT 4
- How do I download a barcode image file from the "flutter web"? HOT 1
- Unable to encode "A" to CODABAR Barcode HOT 3
- Determine number of elements/dots in a DataMatrix? HOT 2
- Using Barcode. code128() to generate barcodes will occasionally cause errors HOT 2
- Genererating invalid Aztec in some cases (Usually an 'A' is at the positions where it breaks)
- barcode_image example source code HOT 1
- Addition of Copyright notice file HOT 3
- barcode_image >=2.0.1 depends on image ^3.1.0
- hope qr add title option
- How to add new barcode format ? HOT 1
- Datamatrix SVG bytes are off-by-one from version 2.2.2 onwards HOT 4
- barcode >=2.2.0 depends on qr ^3.0 and qr_flutter >=4.0.0 depends on qr ^2.0.0 HOT 2
- Save as file support HOT 4
- dart_barcode web example source code HOT 1
- Embedding QR code in images and backgrounds HOT 1
- Ean2 barcode error in v2.2.4. HOT 4
- Datamatix: Reproduce the same code as scanned
- Add VEVENT Support
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from dart_barcode.