[google_maps_flutter_platform_interface] Fix PinConfig code sample (#12259) The second `PinConfig` sample in the `BitmapDescriptor` docs (`bitmap.dart:1009`) doesn't compile, for two reasons: 1. **Unbalanced parens** — the block opens `PinConfig(`, `BitmapGlyph(` and `BitmapDescriptor.asset(` but only closes two of them. (The sibling `TextGlyph` sample directly above closes correctly.) 2. **Missing `await`** — `BitmapDescriptor.asset` is declared `static Future<AssetMapBitmap> asset(...)` (line 278), while `BitmapGlyph.bitmap` is `final BitmapDescriptor bitmap;` (line 1106), so a bare `BitmapDescriptor.asset(...)` can't be assigned to it. The repo's own examples use the awaited form — e.g. `google_maps_flutter_web/example/latest/integration_test/advanced_markers_test.dart:422`: ```dart bitmap: await BitmapDescriptor.asset( ``` The sample now mirrors that. Paren balance goes from 5 open / 4 close to 5 / 5. Doc comment only; bumped to 2.16.1 with a CHANGELOG entry per the versioning policy — happy to switch to `## NEXT` if that's preferred for a docs-only change.
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: