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

Commit 03ee13f

Browse files
committed
Add a short comment explain path dependencies
1 parent 7ad83dc commit 03ee13f

26 files changed

Lines changed: 146 additions & 1 deletion

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+
# The example app is bundled with the plugin so we use a path dependency on
9+
# the parent directory to use the current plugin's version.
10+
# When depending on this package from a real application you should use:
11+
# android_alarm_manager: ^x.y.z
12+
# See https://dart.dev/tools/pub/dependencies#version-constraints
813
path: ../
914
e2e: ^0.2.1
1015
path_provider: ^1.3.1

packages/android_intent/example/pubspec.yaml

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

1015
dev_dependencies:
@@ -17,4 +22,4 @@ flutter:
1722
uses-material-design: true
1823

1924
environment:
20-
flutter: ">=1.9.1+hotfix.2 <2.0.0"
25+
flutter: ">=1.9.1+hotfix.2 <2.0.0"

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

packages/connectivity/example/pubspec.yaml

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

1222
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+
# The example app is bundled with the plugin so we use a path dependency on
9+
# the parent directory to use the current plugin's version.
10+
# When depending on this package from a real application you should use:
11+
# device_info: ^x.y.z
12+
# See https://dart.dev/tools/pub/dependencies#version-constraints
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
@@ -19,8 +19,18 @@ dev_dependencies:
1919
flutter_driver:
2020
sdk: flutter
2121
e2e:
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.
24+
# When depending on this package from a real application you should use:
25+
# e2e: ^x.y.z
26+
# See https://dart.dev/tools/pub/dependencies#version-constraints
2227
path: ../
2328
e2e_macos:
29+
# The example app is bundled with the plugin so we use a path dependency on
30+
# the parent directory to use the current plugin's version.
31+
# When depending on this package from a real application you should use:
32+
# e2e_macos: ^x.y.z
33+
# See https://dart.dev/tools/pub/dependencies#version-constraints
2434
path: ../e2e_macos
2535
test: any
2636

packages/espresso/example/pubspec.yaml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,11 @@ dev_dependencies:
2020
sdk: flutter
2121

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

2530
# 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
@@ -15,6 +15,11 @@ dev_dependencies:
1515
sdk: flutter
1616

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

2025
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+
# 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.
14+
# When depending on this package from a real application you should use:
15+
# google_maps_flutter: ^x.y.z
16+
# See https://dart.dev/tools/pub/dependencies#version-constraints
1217
path: ../
1318
flutter_plugin_android_lifecycle: ^1.0.0
1419

0 commit comments

Comments
 (0)