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
2023-12-07 10:49:15 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
d6be818ea7f32e3f737b58ed9970057e0958b79f
d6be818e
1 parent
c11832e5
add video size getter to barcode reader
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
lib/src/web/barcode_reader.dart
lib/src/web/barcode_reader.dart
View file @
d6be818
import
'dart:async'
;
import
'dart:js_interop'
;
import
'dart:ui'
;
import
'package:js/js.dart'
;
import
'package:mobile_scanner/src/enums/mobile_scanner_error_code.dart'
;
...
...
@@ -15,6 +16,9 @@ abstract class BarcodeReader {
/// Whether the scanner is currently scanning for barcodes.
bool
get
isScanning
;
/// Get the size of the output of the video stream.
Size
get
videoSize
;
/// The id for the script tag that loads the barcode library.
///
/// If a script tag with this id already exists,
...
...
Please
register
or
login
to post a comment