Skip to content

Commit 8163731

Browse files
authored
[pointer_interceptor] Fully publish pointer_interceptor package (#5640)
Addresses flutter/flutter#30143 by adding an iOS implementation, and flutter/flutter#138217 by fixing README links This PR is Part 3/3 of #5233
1 parent 4e40054 commit 8163731

File tree

3 files changed

+9
-12
lines changed

3 files changed

+9
-12
lines changed

packages/pointer_interceptor/pointer_interceptor/CHANGELOG.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,11 @@
1-
## NEXT
1+
## 0.10.0
22

3-
* Adds iOS implementation.
3+
* Transitions to federated architecture.
4+
* Adds iOS implementation to federated package.
45

56
## 0.9.3+7
67

7-
* Updates metadata to point to new source folder
8+
* Updates metadata to point to new source folder.
89

910
## 0.9.3+6
1011

packages/pointer_interceptor/pointer_interceptor/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ The result is that Flutter widget's `onTap` (and other) handlers won't fire as e
1414

1515
|The problem...|
1616
|:-:|
17-
|![Depiction of problematic areas](https://raw.githubusercontent.com/flutter/packages/main/packages/pointer_interceptor/doc/img/affected-areas.png)|
17+
|![Depiction of problematic areas](https://raw.githubusercontent.com/flutter/packages/cb6dbcdd230528c0c246c81d93386c512f9a23d0/packages/pointer_interceptor/pointer_interceptor/doc/img/affected-areas.png)|
1818
|_In the dashed areas, mouse events won't work as expected. The `HtmlElementView` will consume them before Flutter sees them._|
1919

2020
## How does this work?
@@ -27,7 +27,7 @@ This gives an opportunity to the Flutter framework to handle the click, as expec
2727

2828
|The solution...|
2929
|:-:|
30-
|![Depiction of the solution](https://raw.githubusercontent.com/flutter/packages/main/packages/pointer_interceptor/doc/img/fixed-areas.png)|
30+
|![Depiction of the solution](https://raw.githubusercontent.com/flutter/packages/cb6dbcdd230528c0c246c81d93386c512f9a23d0/packages/pointer_interceptor/pointer_interceptor/doc/img/fixed-areas.png)|
3131
|_Each `PointerInterceptor` (green) renders between Flutter widgets and the underlying `HtmlElementView`. Mouse events now can't reach the background HtmlElementView, and work as expected._|
3232

3333
## How to use

packages/pointer_interceptor/pointer_interceptor/pubspec.yaml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@ name: pointer_interceptor
22
description: A widget to prevent clicks from being swallowed by underlying HtmlElementViews on the web.
33
repository: https://github.com/flutter/packages/tree/main/packages/pointer_interceptor/pointer_interceptor
44
issue_tracker: https://github.com/flutter/flutter/issues?q=is%3Aissue+is%3Aopen+label%3A%22p%3A+pointer_interceptor%22
5-
version: 0.9.3+7
6-
# while transitioning to federated structure, removed ability to published temporarily.
7-
publish_to: none
5+
version: 0.10.0
86

97
environment:
108
sdk: ">=3.1.0 <4.0.0"
@@ -24,11 +22,9 @@ dependencies:
2422
sdk: flutter
2523
flutter_web_plugins:
2624
sdk: flutter
27-
pointer_interceptor_ios:
28-
path: ../pointer_interceptor_ios
25+
pointer_interceptor_ios: ^0.10.0
2926
pointer_interceptor_platform_interface: ^0.10.0
30-
pointer_interceptor_web:
31-
path: ../pointer_interceptor_web
27+
pointer_interceptor_web: ^0.10.0
3228

3329
dev_dependencies:
3430
flutter_test:

0 commit comments

Comments
 (0)