Skip to content

Commit cad8b89

Browse files
committed
readme updated
1 parent d420468 commit cad8b89

File tree

1 file changed

+17
-10
lines changed

1 file changed

+17
-10
lines changed

README.md

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,26 @@
22

33
[![pub package](https://img.shields.io/pub/v/ai_barcode_scanner.svg)](https://pub.dev/packages/ai_barcode_scanner)
44

5-
A universal barcode and QR code scanner for Flutter based on MLKit. Uses CameraX on Android, AVFoundation on iOS and Apple Vision & AVFoundation on macOS.
5+
A universal AI barcode and QR code scanner for Flutter based on MLKit. Uses CameraX on Android, AVFoundation on iOS and Apple Vision & AVFoundation on macOS.
66

77
<table>
88
<tr>
9-
<td>Video </td>
10-
<td>Decoded Address</td>
9+
<td>Video</td>
10+
<td>Screenshot</td>
1111
</tr>
1212
<tr>
13-
<td><img src="https://raw.githubusercontent.com/rvndsngwn/map_location_picker/master/assets/GIF_4300.gif" width=270 height=480 alt=""></td>
14-
<td><img src="https://raw.githubusercontent.com/rvndsngwn/map_location_picker/master/assets/IMG_2480.PNG" width=270 height=480 alt=""></td>
13+
<td><img src="https://raw.githubusercontent.com/mohesu/barcode_scanner/master/assets/final.gif" width=270 height=480 alt=""></td>
14+
<td><img src="https://raw.githubusercontent.com/mohesu/barcode_scanner/master/assets/final.PNG" width=270 height=480 alt=""></td>
1515
</tr>
1616
</table>
1717

18+
### Note:
19+
_This plugin is based on the [mobile_scanner](https://pub.dev/packages/mobile_scanner) plugin by [steenbakker.dev](https://pub.dev/publishers/steenbakker.dev/packages)._
20+
21+
_I recommend you to read the [mobile_scanner](https://pub.dev/packages/mobile_scanner) plugin's documentation._
22+
23+
24+
1825
### Android
1926
SDK 21 and newer. Reason: CameraX requires at least SDK 21.
2027
Also, make sure you upgrade kotlin to the latest version in your project.
@@ -61,15 +68,15 @@ If you don't set allowDuplicates to false, you can get multiple scans in a very
6168
import 'package:ai_barcode_scanner/ai_barcode_scanner.dart';
6269
6370
/// Simple example of using the barcode scanner.
64-
BarcodeScanner(
71+
AiBarcodeScanner(
6572
onScan: (String value) {
6673
debugPrint(value);
6774
},
6875
),
6976
7077
/// Example of using the barcode scanner with a controller.
71-
BarcodeScanner(
72-
controller: BarcodeScannerController(),
78+
AiBarcodeScanner(
79+
controller: MobileScannerController(),
7380
onScan: (String value) {
7481
debugPrint(value);
7582
},
@@ -78,7 +85,7 @@ BarcodeScanner(
7885
/// Example of using the barcode scanner with validation.
7986
/// Validator works on the raw string, not the decoded value.
8087
/// If you want to validate the scanner, use the [validateText] and [validateType] parameters.
81-
BarcodeScanner(
88+
AiBarcodeScanner(
8289
validateText: 'https://',
8390
validateType: ValidateType.startsWith,
8491
controller: BarcodeScannerController(),
@@ -188,6 +195,6 @@ BarcodeScanner(
188195
```
189196

190197
## Thanks to
191-
This plugin is based on the [mobile_scanner](https://pub.dev/packages/mobile_scanner) plugin by [steenbakker.dev](https://pub.dev/publishers/steenbakker.dev/packages).
198+
The [mobile_scanner](https://pub.dev/packages/mobile_scanner) plugin by [steenbakker.dev](https://pub.dev/publishers/steenbakker.dev/packages).
192199

193200
I recommend you to read the [mobile_scanner](https://pub.dev/packages/mobile_scanner) plugin's documentation.

0 commit comments

Comments
 (0)