Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix tests
  • Loading branch information
LouiseHsu committed Dec 4, 2023
commit ba4bc21cedb47f43a353e4b79caca5a89f596f85
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ dependencies:
cupertino_icons: ^1.0.2
flutter:
sdk: flutter
pointer_interceptor:
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be removed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i dont think I can remove this - the integration tests fail because the swift tests require the pointer_interceptor package.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What's the dependency on the Swift side that's specific to the app-facing package?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it just needs a dependency on pointer_interceptor_ios at least. Ill change it.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, I missed that it didn't have one. The example should definitely depend on the platform it's an example for.

path: ../../pointer_interceptor
pointer_interceptor_platform_interface: ^0.10.0

dev_dependencies:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,6 @@ class _MyHomePageState extends State<MyHomePage> {
_clickedOn('transparent-button');
},
),
ElevatedButton(
key: const Key('wrapped-transparent-button'),
child:
const Text('Never calls onPressed transparent'),
onPressed: () {
_clickedOn('wrapped-transparent-button');
},
),
PointerInterceptorPlatform.instance.buildWidget(
child: ElevatedButton(
key: const Key('clickable-button'),
Expand Down