Bumps [go_router](https://github.com/flutter/packages/tree/main/packages) from 6.5.9 to 7.0.0. <details> <summary>Commits</summary> <ul> <li><a href="b01736711c"><code>b017367</code></a> [go_router] Cleans up route match API and introduces dart fix (<a href="https://github.com/flutter/packages/tree/main/packages/issues/3819">#3819</a>)</li> <li><a href="2f95ecda81"><code>2f95ecd</code></a> [camerax] Add <code>LifecycleOwner</code> Proxy (<a href="https://github.com/flutter/packages/tree/main/packages/issues/3837">#3837</a>)</li> <li><a href="815cfca847"><code>815cfca</code></a> [file_selector] Add getDirectoryPaths implementation for Windows (<a href="https://github.com/flutter/packages/tree/main/packages/issues/3704">#3704</a>)</li> <li><a href="6dc28c9c3f"><code>6dc28c9</code></a> [various] Update Android example min SDKs (<a href="https://github.com/flutter/packages/tree/main/packages/issues/3847">#3847</a>)</li> <li><a href="1a90429ac1"><code>1a90429</code></a> [camerax] Implement Image Streaming (<a href="https://github.com/flutter/packages/tree/main/packages/issues/3454">#3454</a>)</li> <li><a href="124e330a2b"><code>124e330</code></a> [various] update agp and gradle for all examples in packages (<a href="https://github.com/flutter/packages/tree/main/packages/issues/3822">#3822</a>)</li> <li><a href="c71747df2c"><code>c71747d</code></a> Update xcode to 14c18 (<a href="https://github.com/flutter/packages/tree/main/packages/issues/3774">#3774</a>)</li> <li><a href="3dc59f914d"><code>3dc59f9</code></a> [camera_android] Add NV21 as an image stream format <a href="https://github.com/flutter/packages/tree/main/packages/issues/3277">#3277</a> (<a href="https://github.com/flutter/packages/tree/main/packages/issues/3639">#3639</a>)</li> <li>See full diff in <a href="https://github.com/flutter/packages/commits/go_router-v7.0.0/packages">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) </details> --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Brett Morgan <brettmorgan@google.com>
Place Tracker
A sample place tracking app that uses the google_maps_flutter plugin. Keep track of your favorite places, places you've visited, and places you want to go. View details about these places, show them on a map, and get directions to them.
Goals
- Learn how to create an interface composed of GoogleMap and other widgets.
- Learn how to show, control, and modify a GoogleMap widget.
- Learn how to place a marker on a map.
The important bits
place_map.dart
This page shows a full-screen GoogleMap widget with place markers. Provides examples of how to stack other widgets on top of a GoogleMap widget, how to add markers to a map, and how to make other flutter widgets interact with the GoogleMap widget.
place_details.dart
This page shows a detailed view of a single place. Provides examples of how to place a GoogleMap widget inside of a ListView and how to disable certain touch gestures on the map.
Getting Started
To run this sample app, you will need an API key.
Get an API key at https://cloud.google.com/maps-platform/.
Android
Specify your API key in the application manifest
android/app/src/main/AndroidManifest.xml:
<manifest ...
<application ...
<meta-data android:name="com.google.android.geo.API_KEY"
android:value="YOUR KEY HERE"/>
iOS
Specify your API key in AppDelegate.swift:
@UIApplicationMain
@objc class AppDelegate: FlutterAppDelegate {
override func application(
_ application: UIApplication,
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
) -> Bool {
GMSServices.provideAPIKey("YOUR API KEY HERE")
GeneratedPluginRegistrant.register(with: self)
return super.application(application, didFinishLaunchingWithOptions: launchOptions)
}
}
Web
Add your API key to web/index.html in the <head> tag:
<script src="https://maps.googleapis.com/maps/api/js?key=<YOUR_API_KEY_HERE>"></script>
For additional help setting up the plugin, see the plugin's README page.
For help getting started with Flutter, view our online documentation.
Caveat
The google_maps_flutter plugin is in developer preview until dynamic thread merging is finished.
Questions/issues
If you have a general question about any of the techniques you see in the sample, the best places to go are:
If you run into an issue with the sample itself, please file an issue in the main Flutter repo.