Skip to content

Commit

Permalink
Update webview_flutter version
Browse files Browse the repository at this point in the history
- Update webview_flutter to 4.2.2.
- Update webview_flutter_lwe to 0.3.0.
  • Loading branch information
JSUYA committed Jun 21, 2024
1 parent 164990f commit 429b21d
Show file tree
Hide file tree
Showing 11 changed files with 279 additions and 339 deletions.
4 changes: 3 additions & 1 deletion packages/google_maps_flutter/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
## NEXT
## 0.1.6

* Fix new lint warnings.
* Update minimum Flutter and Dart version to 3.13 and 3.1.
* Update webview_flutter to 4.2.2.
* Update webview_flutter_lwe to 0.3.0.

## 0.1.5

Expand Down
2 changes: 1 addition & 1 deletion packages/google_maps_flutter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ This package is not an _endorsed_ implementation of `google_maps_flutter`. There
```yaml
dependencies:
google_maps_flutter: ^2.1.7
google_maps_flutter_tizen: ^0.1.5
google_maps_flutter_tizen: ^0.1.6
```
For detailed usage, see https://pub.dev/packages/google_maps_flutter#sample-usage.
Expand Down
6 changes: 3 additions & 3 deletions packages/google_maps_flutter/lib/src/circle.dart
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ class CircleController {
required util.GCircle circle,
bool consumeTapEvents = false,
ui.VoidCallback? onTap,
Future<WebViewController>? controller,
WebViewController? controller,
}) : _circle = circle,
_consumeTapEvents = consumeTapEvents,
tapEvent = onTap {
Expand All @@ -25,10 +25,10 @@ class CircleController {
/// Circle component's tap event.
ui.VoidCallback? tapEvent;

Future<void> _addCircleEvent(Future<WebViewController>? controller) async {
Future<void> _addCircleEvent(WebViewController? controller) async {
final String command =
"$_circle.addListener('click', (event) => CircleClick.postMessage(JSON.stringify(${_circle?.id})));";
await (await controller!).runJavascript(command);
await controller!.runJavaScript(command);
}

/// Returns `true` if this Controller will use its own `onTap` handler to consume events.
Expand Down
Loading

0 comments on commit 429b21d

Please sign in to comment.