Toggle navigation
Toggle navigation
This project
Loading...
Sign in
flutter_package
/
mobile_scanner
Go to a project
Toggle navigation
Projects
Groups
Snippets
Help
Toggle navigation pinning
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
Navaron Bracke
2024-09-04 09:33:28 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
28be45d382887c2e4ad985075820599b69917af9
28be45d3
1 parent
c83dd61a
fix docs for barcode capture
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
5 deletions
lib/src/objects/barcode_capture.dart
lib/src/objects/barcode_capture.dart
View file @
28be45d
/// @docImport 'package:mobile_scanner/src/mobile_scanner_controller.dart';
library
;
import
'dart:typed_data'
;
import
'dart:ui'
;
...
...
@@ -16,15 +19,21 @@ class BarcodeCapture {
/// The list of scanned barcodes.
final
List
<
Barcode
>
barcodes
;
/// The bytes of the image that is embedded in the barcode.
/// The input image of the barcode capture.
///
/// This is the image that was used to detect the available [barcodes],
/// not the image from a specific barcode.
///
/// This null if [MobileScannerController.returnImage] is false,
/// or if there is no available image.
/// This is always null if [MobileScannerController.returnImage] is false.
final
Uint8List
?
image
;
/// The raw data of the scanned barcode.
/// The raw data of the barcode scan.
///
/// This is the data that was used to detect the available [barcodes], the input [image] and the [size].
final
Object
?
raw
;
/// The size of the scanned barcode.
/// The size of the input [image].
///
/// If [image] is null, this will be [Size.zero].
final
Size
size
;
}
...
...
Please
register
or
login
to post a comment