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-11-08 20:18:44 +0100
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
c1862f8cfc041a126302724e484a050c7c623524
c1862f8c
1 parent
7cb95d50
skip update scan window if disposed or not ready
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
lib/src/mobile_scanner_controller.dart
lib/src/mobile_scanner_controller.dart
View file @
c1862f8
...
...
@@ -292,6 +292,10 @@ class MobileScannerController extends ValueNotifier<MobileScannerState> {
///
/// If [window] is null, the scan window will be reset to the full camera preview.
Future
<
void
>
updateScanWindow
(
Rect
?
window
)
async
{
if
(
_isDisposed
||
!
value
.
isInitialized
)
{
return
;
}
await
MobileScannerPlatform
.
instance
.
updateScanWindow
(
window
);
}
...
...
Please
register
or
login
to post a comment