[google_maps_flutter] Adopts new async/await Swift Pigeon support (#12860) Switches from the callback-based Pigeon API to the new async/await-based API, which is: - more idiomatic modern Swift - safer, both since it uses Pigeon-generated actor annotations to ensure proper threading, and because it prevents the error case of calling the callback some number of times other than exactly once (which violates the engine API contract) - the syntax used by the new FFI backend that we plan to switch to in a follow-up I verified that with this version of Pigeon we are no longer seeing thread violation logging in manual testing (see https://github.com/flutter/flutter/issues/192199) There is some extra `Task` boilerplate in many callbacks still because we are implementing APIs that are defined by the Google Maps API, and those are not yet using `async` and actor annotations, so we have to bridge them in the plugin layer. Part of https://github.com/flutter/flutter/issues/192720 ## Pre-Review Checklist [^1]: Regular contributors who have demonstrated familiarity with the repository guidelines only need to comment if the PR is not auto-exempted by repo tooling.
This repo is a companion repo to the main flutter repo. It contains the source code for Flutter's first-party packages (i.e., packages developed by the core Flutter team). Check the packages directory to see all packages.
These packages are also available on pub.
Please file any issues, bugs, or feature requests in the main flutter repo. Issues pertaining to this repository are labeled “package”.
If you wish to contribute a new package to the Flutter ecosystem, please see the documentation for developing packages. You can store your package source code in any GitHub repository (the present repo is only intended for packages developed by the core Flutter team). Once your package is ready you can publish to the pub repository.
If you wish to contribute a change to any of the existing packages in this repo, please review our contribution guide, and send a pull request.
These are the packages hosted in this repository: