| commit | 3bba81759894345e9407be49c960367359ef3aba | [log] [tgz] |
|---|---|---|
| author | ml <github@matthewlloyd.net> | Thu May 02 18:48:28 2019 -0400 |
| committer | Kaushik Iska <iska.kaushik@gmail.com> | Thu May 02 15:48:28 2019 -0700 |
| tree | 88d90a82ff218b94018c4f2f0599ab43aff69e0c | |
| parent | 20449bf13bf9ac79a5bc0ccfb85710c5955cfefc [diff] |
Avoid calling null callbacks (#1553) There is no requirement that the callback parameters need to be non-null, so without these checks, the plugin can generate exceptions, e.g. when overlays that have no onTap callback are clicked. Also guards against overlay or marker IDs not being present in the dictionaries, which could happen by race condition (e.g. a click event could be slightly delayed and get handled after the associated object has already been removed).
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.io/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.
Learn more about FlutterFire.