Skip to content

Commit

Permalink
Use patrol from our fork to test the workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
daohoangson committed May 22, 2024
1 parent 145b759 commit 4ff825a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 6 deletions.
2 changes: 1 addition & 1 deletion demo_app/integration_test/auto_resize_test.dart
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ class _AspectRatioTest extends StatelessWidget {
padding: const EdgeInsets.all(16.0),
child: Measurer(
onMeasure: (size, _) {
debugPrint('onMeasure: size=$size');
debugPrint('onMeasure: size=${size.width}x${size.height}');
_value[this] = size.width / size.height;
},
child: child,
Expand Down
9 changes: 5 additions & 4 deletions demo_app/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -643,10 +643,11 @@ packages:
patrol:
dependency: "direct dev"
description:
name: patrol
sha256: "4ff72b8df68aaf1172d8250dffdead6aedc1c55407650444a5bc04ce6242595b"
url: "https://pub.dev"
source: hosted
path: "packages/patrol"
ref: "17f967c"
resolved-ref: "17f967c3d50ccb0c25794db6073f6e36c9f88fdc"
url: "https://github.com/daohoangson/patrol"
source: git
version: "3.7.0"
patrol_finders:
dependency: transitive
Expand Down
6 changes: 5 additions & 1 deletion demo_app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,11 @@ dev_dependencies:
golden_toolkit: ^0.15.0
lint: any
measurer: ^2.1.1
patrol: ^3.3.0
patrol:
git:
url: https://github.com/daohoangson/patrol
ref: 17f967c
path: packages/patrol
test: any

flutter:
Expand Down

0 comments on commit 4ff825a

Please sign in to comment.