1
0
mirror of https://github.com/flutter/samples.git synced 2025-11-08 13:58:47 +00:00
Files
samples/desktop_photo_search/material
dependabot[bot] 643a4bf03d Bump file_selector from 0.9.5 to 1.0.0 in /desktop_photo_search/material (#1937)
Bumps
[file_selector](https://github.com/flutter/packages/tree/main/packages/file_selector)
from 0.9.5 to 1.0.0.
<details>
<summary>Release notes</summary>
<p><em>Sourced from <a
href="https://github.com/flutter/packages/releases">file_selector's
releases</a>.</em></p>
<blockquote>
<h2>animations-v1.0.0</h2>
<p>No release notes provided.</p>
<h2>animations-v1.0.0+1</h2>
<p>No release notes provided.</p>
<h2>animations-v1.0.0+2</h2>
<p>No release notes provided.</p>
<h2>animations-v1.0.0+3</h2>
<p>No release notes provided.</p>
<h2>animations-v1.0.0+4</h2>
<p>No release notes provided.</p>
<h2>animations-v1.0.0+5</h2>
<p>No release notes provided.</p>
<h2>flutter_lints-v1.0.0-dev.0</h2>
<ul>
<li>Initial pre-release</li>
</ul>
</blockquote>
</details>
<details>
<summary>Commits</summary>
<ul>
<li><a
href="ee84c2a714"><code>ee84c2a</code></a>
[file_selector] Update to 1.0 (<a
href="https://github.com/flutter/packages/tree/main/packages/file_selector/issues/4362">#4362</a>)</li>
<li>See full diff in <a
href="https://github.com/flutter/packages/commits/file_selector-v1.0.0/packages/file_selector">compare
view</a></li>
</ul>
</details>
<br />


[![Dependabot compatibility
score](https://dependabot-badges.githubapp.com/badges/compatibility_score?dependency-name=file_selector&package-manager=pub&previous-version=0.9.5&new-version=1.0.0)](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>
2023-07-09 18:56:17 +10:00
..

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.