desktop_photo_search/fluent_ui/README.md
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.
This Flutter project builds a desktop application. It utilises the following desktop specific plugins:
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.
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.
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.