commit | 81bbcd4ba82fe206d429019e129f6d4d6332374b | [log] [tgz] |
---|---|---|
author | Ari Weiland <math1man@gmail.com> | Tue Oct 27 12:57:18 2020 -0700 |
committer | GitHub <noreply@github.com> | Tue Oct 27 12:57:18 2020 -0700 |
tree | 47b369cd89d4a9ca81672a395a46f6b522906efb | |
parent | 64d7334fdaa3e6b7287c4505854f8e6d3ec7f886 [diff] |
[google_maps_flutter] Clean up google_maps_flutter plugin (#3206) 1. A few minor formatting changes and additions of @Nullable annotations 2. Removed pass-through of activityHashCode. In the legacy plugin use case, the value is always -1 (which has been inlined). In the new plugin use case, the value should never be used because it uses DefaultLifecycleCallbacks instead of ActivityLifecycleCallbacks. 3. Replaced custom lifecycle state ints with androidx.lifecycle.Lifecycle.State enum. Also simplify paused/stopped states, which don't need their own dedicated states. Paused == started and stopped == created. 4. Fixed a bug where the Lifecycle object was being leaked onDetachFromActivity by nulling out the field. 5. Moved GoogleMapListener to its own file. Declaring multiple top level classes in the same file is bad practice.
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.