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-10-12 19:25:57 +0200
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
76386c141da1f66984d844da51647f25347121e5
76386c14
1 parent
a025520d
put constructor first
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
test/scan_window_test.dart
test/scan_window_test.dart
View file @
76386c1
...
...
@@ -118,16 +118,16 @@ void main() {
}
class
ScanWindowTestContext
{
final
Size
textureSize
;
final
Size
widgetSize
;
final
Rect
scanWindow
;
ScanWindowTestContext
({
required
this
.
textureSize
,
required
this
.
widgetSize
,
required
this
.
scanWindow
,
});
final
Size
textureSize
;
final
Size
widgetSize
;
final
Rect
scanWindow
;
void
testScanWindow
(
BoxFit
fit
,
Rect
expected
)
{
final
actual
=
calculateScanWindowRelativeToTextureInPercentage
(
fit
,
...
...
Please
register
or
login
to post a comment