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
Old Autumn
2024-04-23 15:56:07 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Committed by
GitHub
2024-04-23 15:56:07 +0800
Commit
bf495be9510eb60076734a618b92d1e7dab81d4e
bf495be9
1 parent
408aaab8
feat: change platform os detect pattern in barcode_scanner_window.dart
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
example/lib/barcode_scanner_window.dart
example/lib/barcode_scanner_window.dart
View file @
bf495be
...
...
@@ -204,7 +204,7 @@ class BarcodeOverlay extends CustomPainter {
final
double
ratioWidth
;
final
double
ratioHeight
;
if
(!
kIsWeb
&&
Platform
.
isI
OS
)
{
if
(!
kIsWeb
&&
defaultTargetPlatform
==
TargetPlatform
.
i
OS
)
{
ratioWidth
=
barcodeSize
.
width
/
adjustedSize
.
destination
.
width
;
ratioHeight
=
barcodeSize
.
height
/
adjustedSize
.
destination
.
height
;
}
else
{
...
...
Please
register
or
login
to post a comment