commit | d22502af8f0f9fde5f8cefee95cea5a9bc9bd094 | [log] [tgz] |
---|---|---|
author | Michael Klimushyn <mklim@google.com> | Thu Nov 14 09:34:29 2019 -0800 |
committer | GitHub <noreply@github.com> | Thu Nov 14 09:34:29 2019 -0800 |
tree | d3c4492ff47a2cd00777d8a03e5981a36da6508e | |
parent | 4a9450325055455875fd657d07f2c5c06f8c5689 [diff] |
[webview_flutter] Add async NavigationDelegates (#2257) Previously all navigation decisions needed to be made synchronously in Dart. The platform layers are already waiting for the MethodChannel callback, so just changed the return type to be `FutureOr<NavigationDecision>'. This is a change to the method signature of `WebViewPlatformCallbacksHandler#onNavigationRequest`, but that interface appears to only be meant to be implemented internally to the plugin.
This repo is a companion repo to the main flutter repo. It contains the source code for Flutter first-party plugins (i.e., plugins developed by the core Flutter team). Check the packages
directory for all plugins.
Flutter plugins enable access to platform-specific APIs. For more information about plugins, and how to use them, see https://flutter.dev/platform-plugins/.
These plugins are also available on pub.
Please file any issues, bugs, or feature requests in the main flutter repo.
If you wish to contribute a new plugin to the Flutter ecosystem, please see the documentation for developing packages and platform channels. You can store your plugin source code in any GitHub repository (the present repo is only intended for plugins developed by the core Flutter team). Once your plugin is ready you can publish to the pub repository.
If you wish to contribute a change to any of the existing plugins in this repo, please review our contribution guide, and send a pull request.
These are the available plugins in this repository.