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
Simon Brand
2022-09-27 14:22:30 +0000
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1554da2eda86b59eee6dbc24ddb599cfbb96fe8c
1554da2e
1 parent
0616500f
docs: Document barcode properties
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
README.md
README.md
View file @
1554da2
...
...
@@ -207,3 +207,26 @@ import 'package:mobile_scanner/mobile_scanner.dart';
);
}
```
### Scan result
You can use the following properties of the Barcode, which gets
passed to the
`onDetect`
function.
| Property name | Type | Description
|---------------|----------------|--------------------
| image | Uint8List? | only if returnImage was set to true
| format | BarcodeFormat |
| rawBytes | Uint8List? | binary scan result
| rawValue | String? | Value if barcode is in UTF-8 format
| displayValue | String? |
| type | BarcodeType |
| calendarEvent | CalendarEvent? |
| contactInfo | ContactInfo? |
| driverLicense | DriverLicense? |
| email | Email? |
| geoPoint | GeoPoint? |
| phone | Phone? |
| sms | SMS? |
| url | UrlBookmark? |
| wifi | WiFi? | WiFi Access-Point details
...
...
Please
register
or
login
to post a comment