Skip to content
This repository was archived by the owner on Feb 22, 2023. It is now read-only.

Commit ecdb831

Browse files
committed
Add a short comment explain path dependencies
1 parent 821a5c4 commit ecdb831

26 files changed

Lines changed: 135 additions & 0 deletions

File tree

packages/android_alarm_manager/example/pubspec.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ dependencies:
55
flutter:
66
sdk: flutter
77
android_alarm_manager:
8+
# When depending on this package from a real application you should use:
9+
# android_alarm_manager: ^x.y.z
10+
# See https://dart.dev/tools/pub/dependencies#version-constraints
11+
# The example app is bundled with the plugin so we use a path dependency on
12+
# the parent directory to use the current plugin's version.
813
path: ../
914
shared_preferences: ^0.5.6
1015
e2e: 0.3.0

packages/android_intent/example/pubspec.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ dependencies:
55
flutter:
66
sdk: flutter
77
android_intent:
8+
# When depending on this package from a real application you should use:
9+
# android_intent: ^x.y.z
10+
# See https://dart.dev/tools/pub/dependencies#version-constraints
11+
# The example app is bundled with the plugin so we use a path dependency on
12+
# the parent directory to use the current plugin's version.
813
path: ../
914

1015
dev_dependencies:

packages/battery/example/pubspec.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ dependencies:
55
flutter:
66
sdk: flutter
77
battery:
8+
# When depending on this package from a real application you should use:
9+
# battery: ^x.y.z
10+
# See https://dart.dev/tools/pub/dependencies#version-constraints
11+
# The example app is bundled with the plugin so we use a path dependency on
12+
# the parent directory to use the current plugin's version.
813
path: ../
914

1015
dev_dependencies:

packages/camera/example/pubspec.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@ description: Demonstrates how to use the camera plugin.
33

44
dependencies:
55
camera:
6+
# When depending on this package from a real application you should use:
7+
# camera: ^x.y.z
8+
# See https://dart.dev/tools/pub/dependencies#version-constraints
9+
# The example app is bundled with the plugin so we use a path dependency on
10+
# the parent directory to use the current plugin's version.
611
path: ../
712
path_provider: ^0.5.0
813
flutter:

packages/connectivity/connectivity_macos/example/pubspec.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ dependencies:
66
sdk: flutter
77
connectivity: any
88
connectivity_macos:
9+
# When depending on this package from a real application you should use:
10+
# connectivity_macos: ^x.y.z
11+
# See https://dart.dev/tools/pub/dependencies#version-constraints
12+
# The example app is bundled with the plugin so we use a path dependency on
13+
# the parent directory to use the current plugin's version.
914
path: ../
1015

1116
dev_dependencies:

packages/device_info/example/pubspec.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,11 @@ dependencies:
55
flutter:
66
sdk: flutter
77
device_info:
8+
# When depending on this package from a real application you should use:
9+
# device_info: ^x.y.z
10+
# See https://dart.dev/tools/pub/dependencies#version-constraints
11+
# The example app is bundled with the plugin so we use a path dependency on
12+
# the parent directory to use the current plugin's version.
813
path: ../
914

1015
dev_dependencies:

packages/e2e/example/pubspec.yaml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,18 @@ dev_dependencies:
1818
flutter_driver:
1919
sdk: flutter
2020
e2e:
21+
# When depending on this package from a real application you should use:
22+
# e2e: ^x.y.z
23+
# See https://dart.dev/tools/pub/dependencies#version-constraints
24+
# The example app is bundled with the plugin so we use a path dependency on
25+
# the parent directory to use the current plugin's version.
2126
path: ../
2227
e2e_macos:
28+
# When depending on this package from a real application you should use:
29+
# e2e_macos: ^x.y.z
30+
# See https://dart.dev/tools/pub/dependencies#version-constraints
31+
# The example app is bundled with the plugin so we use a path dependency on
32+
# the parent directory to use the current plugin's version.
2333
path: ../e2e_macos
2434
test: any
2535
pedantic: ^1.8.0

packages/espresso/example/pubspec.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,11 @@ dev_dependencies:
2121
pedantic: ^1.8.0
2222

2323
espresso:
24+
# When depending on this package from a real application you should use:
25+
# espresso: ^x.y.z
26+
# See https://dart.dev/tools/pub/dependencies#version-constraints
27+
# The example app is bundled with the plugin so we use a path dependency on
28+
# the parent directory to use the current plugin's version.
2429
path: ../
2530

2631
# For information on the generic Dart part of this file, see the

packages/flutter_plugin_android_lifecycle/example/pubspec.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,11 @@ dev_dependencies:
1616
pedantic: ^1.8.0
1717

1818
flutter_plugin_android_lifecycle:
19+
# When depending on this package from a real application you should use:
20+
# flutter_plugin_android_lifecycle: ^x.y.z
21+
# See https://dart.dev/tools/pub/dependencies#version-constraints
22+
# The example app is bundled with the plugin so we use a path dependency on
23+
# the parent directory to use the current plugin's version.
1924
path: ../
2025

2126
flutter:

packages/google_maps_flutter/google_maps_flutter/example/pubspec.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,11 @@ dependencies:
99
# Use with the CupertinoIcons class for iOS style icons.
1010
cupertino_icons: ^0.1.0
1111
google_maps_flutter:
12+
# When depending on this package from a real application you should use:
13+
# google_maps_flutter: ^x.y.z
14+
# See https://dart.dev/tools/pub/dependencies#version-constraints
15+
# The example app is bundled with the plugin so we use a path dependency on
16+
# the parent directory to use the current plugin's version.
1217
path: ../
1318
flutter_plugin_android_lifecycle: ^1.0.0
1419

0 commit comments

Comments
 (0)