mirror of
https://github.com/flutter/samples.git
synced 2025-11-13 00:08:24 +00:00
Drop build.yaml and simplify url_launcher usage (#177)
This commit is contained in:
@@ -13,7 +13,7 @@ desktop specific plugins:
|
|||||||
- [file_choser] to enable the application user to select where to save a photo
|
- [file_choser] to enable the application user to select where to save a photo
|
||||||
from the Unsplash API.
|
from the Unsplash API.
|
||||||
- [menubar] for exposing Image Search functionality through the menu bar.
|
- [menubar] for exposing Image Search functionality through the menu bar.
|
||||||
- [url_launcher_fde] and [url_launcher] plugin, which are used to open external links.
|
- [url_launcher] to open external links.
|
||||||
|
|
||||||
The Unsplash API client entry point is in the [Unsplash] class, and is built
|
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.
|
atop [http], [built_value] and [built_collection] for JSON Rest API access.
|
||||||
@@ -53,4 +53,3 @@ and how to switch between Flutter release channels.
|
|||||||
[macOS-security]: https://github.com/google/flutter-desktop-embedding/blob/master/macOS-Security.md
|
[macOS-security]: https://github.com/google/flutter-desktop-embedding/blob/master/macOS-Security.md
|
||||||
[menubar]: https://github.com/google/flutter-desktop-embedding/tree/master/plugins/menubar
|
[menubar]: https://github.com/google/flutter-desktop-embedding/tree/master/plugins/menubar
|
||||||
[url_launcher]: https://pub.dev/packages/url_launcher
|
[url_launcher]: https://pub.dev/packages/url_launcher
|
||||||
[url_launcher_fde]: https://github.com/google/flutter-desktop-embedding/tree/master/plugins/flutter_plugins/url_launcher_fde
|
|
||||||
|
|||||||
@@ -1,15 +0,0 @@
|
|||||||
targets:
|
|
||||||
$default:
|
|
||||||
builders:
|
|
||||||
built_value_generator|built_value:
|
|
||||||
enabled: true
|
|
||||||
|
|
||||||
builders:
|
|
||||||
built_value:
|
|
||||||
target: ":built_value_generator"
|
|
||||||
import: "package:built_value_generator/builder.dart"
|
|
||||||
builder_factories: ["builtValue"]
|
|
||||||
build_extensions: {".dart": [".built_value.g.part"]}
|
|
||||||
auto_apply: dependents
|
|
||||||
build_to: cache
|
|
||||||
applies_builders: ["source_gen|combining_builder"]
|
|
||||||
@@ -4,6 +4,7 @@ PODS:
|
|||||||
- FlutterMacOS (1.0.0)
|
- FlutterMacOS (1.0.0)
|
||||||
- menubar (0.0.2):
|
- menubar (0.0.2):
|
||||||
- FlutterMacOS
|
- FlutterMacOS
|
||||||
|
- url_launcher (0.0.1)
|
||||||
- url_launcher_macos (0.0.1):
|
- url_launcher_macos (0.0.1):
|
||||||
- FlutterMacOS
|
- FlutterMacOS
|
||||||
|
|
||||||
@@ -11,6 +12,7 @@ DEPENDENCIES:
|
|||||||
- file_chooser (from `Flutter/ephemeral/.symlinks/plugins/file_chooser/macos`)
|
- file_chooser (from `Flutter/ephemeral/.symlinks/plugins/file_chooser/macos`)
|
||||||
- FlutterMacOS (from `Flutter/ephemeral/.symlinks/flutter/darwin-x64`)
|
- FlutterMacOS (from `Flutter/ephemeral/.symlinks/flutter/darwin-x64`)
|
||||||
- menubar (from `Flutter/ephemeral/.symlinks/plugins/menubar/macos`)
|
- menubar (from `Flutter/ephemeral/.symlinks/plugins/menubar/macos`)
|
||||||
|
- url_launcher (from `Flutter/ephemeral/.symlinks/plugins/url_launcher/macos`)
|
||||||
- url_launcher_macos (from `Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos`)
|
- url_launcher_macos (from `Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos`)
|
||||||
|
|
||||||
EXTERNAL SOURCES:
|
EXTERNAL SOURCES:
|
||||||
@@ -20,6 +22,8 @@ EXTERNAL SOURCES:
|
|||||||
:path: Flutter/ephemeral/.symlinks/flutter/darwin-x64
|
:path: Flutter/ephemeral/.symlinks/flutter/darwin-x64
|
||||||
menubar:
|
menubar:
|
||||||
:path: Flutter/ephemeral/.symlinks/plugins/menubar/macos
|
:path: Flutter/ephemeral/.symlinks/plugins/menubar/macos
|
||||||
|
url_launcher:
|
||||||
|
:path: Flutter/ephemeral/.symlinks/plugins/url_launcher/macos
|
||||||
url_launcher_macos:
|
url_launcher_macos:
|
||||||
:path: Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos
|
:path: Flutter/ephemeral/.symlinks/plugins/url_launcher_macos/macos
|
||||||
|
|
||||||
@@ -27,6 +31,7 @@ SPEC CHECKSUMS:
|
|||||||
file_chooser: 24432cf5dc836722b05c11c2a0a30d19c3c9b996
|
file_chooser: 24432cf5dc836722b05c11c2a0a30d19c3c9b996
|
||||||
FlutterMacOS: 15bea8a44d2fa024068daa0140371c020b4b6ff9
|
FlutterMacOS: 15bea8a44d2fa024068daa0140371c020b4b6ff9
|
||||||
menubar: 4e3d461d62d775540277ce6639acafe2a111a231
|
menubar: 4e3d461d62d775540277ce6639acafe2a111a231
|
||||||
|
url_launcher: af78307ef9bafff91273b34f1c6c0c86a0004fd7
|
||||||
url_launcher_macos: 77182d012b6b515c0955d24ed22b38f79b82a99d
|
url_launcher_macos: 77182d012b6b515c0955d24ed22b38f79b82a99d
|
||||||
|
|
||||||
PODFILE CHECKSUM: d8ba9b3e9e93c62c74a660b46c6fcb09f03991a7
|
PODFILE CHECKSUM: d8ba9b3e9e93c62c74a660b46c6fcb09f03991a7
|
||||||
|
|||||||
@@ -605,9 +605,9 @@ packages:
|
|||||||
name: url_launcher
|
name: url_launcher
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
source: hosted
|
source: hosted
|
||||||
version: "5.3.0"
|
version: "5.4.0"
|
||||||
url_launcher_macos:
|
url_launcher_macos:
|
||||||
dependency: "direct main"
|
dependency: transitive
|
||||||
description:
|
description:
|
||||||
name: url_launcher_macos
|
name: url_launcher_macos
|
||||||
url: "https://pub.dartlang.org"
|
url: "https://pub.dartlang.org"
|
||||||
|
|||||||
@@ -26,8 +26,7 @@ dependencies:
|
|||||||
provider: ^3.2.0
|
provider: ^3.2.0
|
||||||
transparent_image: ^1.0.0
|
transparent_image: ^1.0.0
|
||||||
uuid: ^2.0.4
|
uuid: ^2.0.4
|
||||||
url_launcher: ^5.3.0
|
url_launcher: ^5.4.0
|
||||||
url_launcher_macos: ^0.0.1
|
|
||||||
|
|
||||||
dev_dependencies:
|
dev_dependencies:
|
||||||
flutter_test:
|
flutter_test:
|
||||||
|
|||||||
Reference in New Issue
Block a user