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-03-27 10:10:11 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a04eebefae5c4ea5d9611a2c9fee53915b228f92
a04eebef
1 parent
5aa2c119
use SIzedBox.fromSize()
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
lib/src/mobile_scanner.dart
lib/src/mobile_scanner.dart
View file @
a04eebe
...
...
@@ -259,9 +259,8 @@ class _MobileScannerState extends State<MobileScanner>
size:
constraints
.
biggest
,
child:
FittedBox
(
fit:
widget
.
fit
,
child:
SizedBox
(
width:
value
.
size
.
width
,
height:
value
.
size
.
height
,
child:
SizedBox
.
fromSize
(
size:
value
.
size
,
child:
kIsWeb
?
HtmlElementView
(
viewType:
value
.
webId
!)
:
Texture
(
textureId:
value
.
textureId
!),
...
...
Please
register
or
login
to post a comment