Skip to content

Commit 99d599c

Browse files
authored
Added comment about path depenendencies (flutter#3542)
1 parent acabfe6 commit 99d599c

File tree

37 files changed

+185
-0
lines changed

37 files changed

+185
-0
lines changed

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
integration_test:

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/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/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/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
connectivity:
8+
# When depending on this package from a real application you should use:
9+
# connectivity: ^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/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/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/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/file_selector/file_selector/example/pubspec.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,11 @@ dependencies:
2525
sdk: flutter
2626

2727
file_selector:
28+
# When depending on this package from a real application you should use:
29+
# file_selector: ^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.
2833
path: ../
2934

3035
# The following adds the Cupertino Icons font to your application.

packages/flutter_plugin_android_lifecycle/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
flutter_plugin_android_lifecycle:
8+
# When depending on this package from a real application you should use:
9+
# flutter_plugin_android_lifecycle: ^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:

0 commit comments

Comments
 (0)