From 7dde5f042a0cb0a93c4119153a555382bb62977b Mon Sep 17 00:00:00 2001 From: Khoren Markosyan Date: Thu, 12 May 2022 20:40:30 +0400 Subject: [PATCH] update README.md --- README.md | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index d9f4752..21f8136 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ A barcode and QR code scanner based on [ZXing C++](https://github.com/nu-book/zx 04_trending_repository_screen  04_trending_repository_screen  04_trending_repository_screen  -## Supported Formats +## Supported Barcode Formats | 1D product | 1D industrial | 2D | ---------- | ----------------- | -------------- @@ -18,16 +18,23 @@ A barcode and QR code scanner based on [ZXing C++](https://github.com/nu-book/zx | DataBar | ITF | MaxiCode (beta) | | DataBar Expanded | +## Features +- [x] Read barcode from camera +- [x] Read barcode from gallery +- [x] Create barcode from text +- [ ] Read multiple barcodes from camera or gallery +- [ ] Return scanned barcode position and size + ## Getting Started ### To read barcode: ```dart import 'package:flutter_zxing/flutter_zxing.dart'; -// Use ZxingReaderWidget to quickly read barcode from camera image +// Use ReaderWidget to quickly read barcode from camera image @override Widget build(BuildContext context) { return Scaffold( - body: ZxingReaderWidget( + body: ReaderWidget( onScan: (result) async { // Do something with the result }, @@ -52,11 +59,11 @@ import 'package:flutter_zxing/flutter_zxing.dart'; import 'dart:typed_data'; import 'package:image/image.dart' as imglib; -// Use ZxingWriterWidget to quickly read barcode from camera image +// Use WriterWidget to quickly read barcode from camera image @override Widget build(BuildContext context) { return Scaffold( - body: ZxingWriterWidget( + body: WriterWidget( onSuccess: (result, bytes) { // Do something with the result },