Bumps [http](https://github.com/dart-lang/http/tree/master/pkgs) from 1.2.0 to 1.2.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/dart-lang/http/releases">http's releases</a>.</em></p> <blockquote> <h2>package:http v1.2.1</h2> <ul> <li>Require Dart <code>^3.3</code></li> <li>Require <code>package:web</code> <code>^0.5.0</code>.</li> </ul> </blockquote> </details> <details> <summary>Commits</summary> <ul> <li>See full diff in <a href="https://github.com/dart-lang/http/commits/http-v1.2.1/pkgs">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 show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@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>
Photo Search app
This desktop application enables you to search
Unsplash for photographs that interest you.
To use it, you need to add an Access Key from
Unsplash API to
lib/unsplash_access_key.dart.
This sample works on Windows, macOS and Linux.
A quick tour of the code
This Flutter project builds a desktop application. It utilises the following desktop specific plugins:
- file_chooser to enable the application user to select where to save a photo from the Unsplash API.
- menubar for exposing Image Search functionality through the menu bar.
- url_launcher to open external links.
The Unsplash API client entry point is in the Unsplash class, and is built atop http, built_value and built_collection for JSON Rest API access.
Deploying to the Microsoft Store
This sample uses Yehuda Kremer's MSIX pub package to bundle up the Windows release build for distribution to the Microsoft Store. Microsoft maintains a plethora of documentation on deploying to the Microsoft Store.
See the msix_config stanza in this sample's pubspec.yaml for an
example configuration. Make sure the display_name, publisher_display_name,
publisher and identity_name attributes match the settings in your
Microsoft Partner Center application submission.
macOS Network and File entitlements
To access the network, macOS requires applications enable the com.apple.security.network.client entitlement. For this sample, this entitlement is required to access the Unsplash API.
Likewise, to save a Photo to the local file system using the file_chooser plugin requires the
com.apple.security.files.user-selected.read-write entitlement.
Please see macOS Signing and Security for more detail.