Added comment about path depenendencies (#3542)
diff --git a/packages/android_alarm_manager/example/pubspec.yaml b/packages/android_alarm_manager/example/pubspec.yaml
index 140f90a..6fce346 100644
--- a/packages/android_alarm_manager/example/pubspec.yaml
+++ b/packages/android_alarm_manager/example/pubspec.yaml
@@ -5,6 +5,11 @@
flutter:
sdk: flutter
android_alarm_manager:
+ # When depending on this package from a real application you should use:
+ # android_alarm_manager: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
shared_preferences: ^0.5.6
integration_test:
diff --git a/packages/android_intent/example/pubspec.yaml b/packages/android_intent/example/pubspec.yaml
index 34924d7..7a0814d 100644
--- a/packages/android_intent/example/pubspec.yaml
+++ b/packages/android_intent/example/pubspec.yaml
@@ -5,6 +5,11 @@
flutter:
sdk: flutter
android_intent:
+ # When depending on this package from a real application you should use:
+ # android_intent: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
dev_dependencies:
diff --git a/packages/battery/battery/example/pubspec.yaml b/packages/battery/battery/example/pubspec.yaml
index fae9f48..e118a7c 100644
--- a/packages/battery/battery/example/pubspec.yaml
+++ b/packages/battery/battery/example/pubspec.yaml
@@ -5,6 +5,11 @@
flutter:
sdk: flutter
battery:
+ # When depending on this package from a real application you should use:
+ # battery: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
dev_dependencies:
diff --git a/packages/camera/camera/example/pubspec.yaml b/packages/camera/camera/example/pubspec.yaml
index 077c7a6..2a45fd6 100644
--- a/packages/camera/camera/example/pubspec.yaml
+++ b/packages/camera/camera/example/pubspec.yaml
@@ -3,6 +3,11 @@
dependencies:
camera:
+ # When depending on this package from a real application you should use:
+ # camera: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
path_provider: ^0.5.0
flutter:
diff --git a/packages/connectivity/connectivity/example/pubspec.yaml b/packages/connectivity/connectivity/example/pubspec.yaml
index bd723cb..b502146 100644
--- a/packages/connectivity/connectivity/example/pubspec.yaml
+++ b/packages/connectivity/connectivity/example/pubspec.yaml
@@ -5,6 +5,11 @@
flutter:
sdk: flutter
connectivity:
+ # When depending on this package from a real application you should use:
+ # connectivity: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
dev_dependencies:
diff --git a/packages/connectivity/connectivity_macos/example/pubspec.yaml b/packages/connectivity/connectivity_macos/example/pubspec.yaml
index a6107fc..49d24e7 100644
--- a/packages/connectivity/connectivity_macos/example/pubspec.yaml
+++ b/packages/connectivity/connectivity_macos/example/pubspec.yaml
@@ -6,6 +6,11 @@
sdk: flutter
connectivity: any
connectivity_macos:
+ # When depending on this package from a real application you should use:
+ # connectivity_macos: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
dev_dependencies:
diff --git a/packages/device_info/device_info/example/pubspec.yaml b/packages/device_info/device_info/example/pubspec.yaml
index aa8019f..1f63697 100644
--- a/packages/device_info/device_info/example/pubspec.yaml
+++ b/packages/device_info/device_info/example/pubspec.yaml
@@ -5,6 +5,11 @@
flutter:
sdk: flutter
device_info:
+ # When depending on this package from a real application you should use:
+ # device_info: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
dev_dependencies:
diff --git a/packages/espresso/example/pubspec.yaml b/packages/espresso/example/pubspec.yaml
index d2d73da..4854d85 100644
--- a/packages/espresso/example/pubspec.yaml
+++ b/packages/espresso/example/pubspec.yaml
@@ -21,6 +21,11 @@
pedantic: ^1.8.0
espresso:
+ # When depending on this package from a real application you should use:
+ # espresso: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
# For information on the generic Dart part of this file, see the
diff --git a/packages/file_selector/file_selector/example/pubspec.yaml b/packages/file_selector/file_selector/example/pubspec.yaml
index 58f0abb..3af2a67 100644
--- a/packages/file_selector/file_selector/example/pubspec.yaml
+++ b/packages/file_selector/file_selector/example/pubspec.yaml
@@ -25,6 +25,11 @@
sdk: flutter
file_selector:
+ # When depending on this package from a real application you should use:
+ # file_selector: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
# The following adds the Cupertino Icons font to your application.
diff --git a/packages/flutter_plugin_android_lifecycle/example/pubspec.yaml b/packages/flutter_plugin_android_lifecycle/example/pubspec.yaml
index 4643317..833c2eb 100644
--- a/packages/flutter_plugin_android_lifecycle/example/pubspec.yaml
+++ b/packages/flutter_plugin_android_lifecycle/example/pubspec.yaml
@@ -5,6 +5,11 @@
flutter:
sdk: flutter
flutter_plugin_android_lifecycle:
+ # When depending on this package from a real application you should use:
+ # flutter_plugin_android_lifecycle: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
dev_dependencies:
diff --git a/packages/google_maps_flutter/google_maps_flutter/example/pubspec.yaml b/packages/google_maps_flutter/google_maps_flutter/example/pubspec.yaml
index 09e4924..b3a0ae7 100644
--- a/packages/google_maps_flutter/google_maps_flutter/example/pubspec.yaml
+++ b/packages/google_maps_flutter/google_maps_flutter/example/pubspec.yaml
@@ -13,6 +13,11 @@
# Use with the CupertinoIcons class for iOS style icons.
cupertino_icons: ^0.1.0
google_maps_flutter:
+ # When depending on this package from a real application you should use:
+ # google_maps_flutter: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
flutter_plugin_android_lifecycle: ^1.0.0
diff --git a/packages/google_sign_in/extension_google_sign_in_as_googleapis_auth/example/pubspec.yaml b/packages/google_sign_in/extension_google_sign_in_as_googleapis_auth/example/pubspec.yaml
index e032b14..48dfef6 100755
--- a/packages/google_sign_in/extension_google_sign_in_as_googleapis_auth/example/pubspec.yaml
+++ b/packages/google_sign_in/extension_google_sign_in_as_googleapis_auth/example/pubspec.yaml
@@ -6,6 +6,11 @@
sdk: flutter
google_sign_in: ^4.4.1
extension_google_sign_in_as_googleapis_auth:
+ # When depending on this package from a real application you should use:
+ # extension_google_sign_in_as_googleapis_auth: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
googleapis: ^0.55.0
diff --git a/packages/google_sign_in/google_sign_in/example/pubspec.yaml b/packages/google_sign_in/google_sign_in/example/pubspec.yaml
index d676add..e35aa9a 100755
--- a/packages/google_sign_in/google_sign_in/example/pubspec.yaml
+++ b/packages/google_sign_in/google_sign_in/example/pubspec.yaml
@@ -5,6 +5,11 @@
flutter:
sdk: flutter
google_sign_in:
+ # When depending on this package from a real application you should use:
+ # google_sign_in: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
http: ^0.12.0
diff --git a/packages/image_picker/image_picker/example/pubspec.yaml b/packages/image_picker/image_picker/example/pubspec.yaml
index 017b2a2..eed223c 100755
--- a/packages/image_picker/image_picker/example/pubspec.yaml
+++ b/packages/image_picker/image_picker/example/pubspec.yaml
@@ -8,6 +8,11 @@
sdk: flutter
flutter_plugin_android_lifecycle: ^2.0.0-nullsafety.2
image_picker:
+ # When depending on this package from a real application you should use:
+ # image_picker: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
dev_dependencies:
diff --git a/packages/in_app_purchase/example/pubspec.yaml b/packages/in_app_purchase/example/pubspec.yaml
index 8f45e0e..9b623a1 100644
--- a/packages/in_app_purchase/example/pubspec.yaml
+++ b/packages/in_app_purchase/example/pubspec.yaml
@@ -13,6 +13,11 @@
flutter_driver:
sdk: flutter
in_app_purchase:
+ # When depending on this package from a real application you should use:
+ # in_app_purchase: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
integration_test:
path: ../../integration_test
diff --git a/packages/integration_test/example/pubspec.yaml b/packages/integration_test/example/pubspec.yaml
index 84875dc..5ad8be4 100644
--- a/packages/integration_test/example/pubspec.yaml
+++ b/packages/integration_test/example/pubspec.yaml
@@ -18,6 +18,11 @@
flutter_driver:
sdk: flutter
integration_test:
+ # When depending on this package from a real application you should use:
+ # integration_test: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
integration_test_macos:
path: ../integration_test_macos
diff --git a/packages/ios_platform_images/example/pubspec.yaml b/packages/ios_platform_images/example/pubspec.yaml
index fa0f9eb..7802a2b 100644
--- a/packages/ios_platform_images/example/pubspec.yaml
+++ b/packages/ios_platform_images/example/pubspec.yaml
@@ -18,6 +18,11 @@
flutter_test:
sdk: flutter
ios_platform_images:
+ # When depending on this package from a real application you should use:
+ # ios_platform_images: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
pedantic: ^1.8.0
diff --git a/packages/local_auth/example/pubspec.yaml b/packages/local_auth/example/pubspec.yaml
index 653ff08..364f604 100644
--- a/packages/local_auth/example/pubspec.yaml
+++ b/packages/local_auth/example/pubspec.yaml
@@ -5,6 +5,11 @@
flutter:
sdk: flutter
local_auth:
+ # When depending on this package from a real application you should use:
+ # local_auth: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
dev_dependencies:
diff --git a/packages/package_info/example/pubspec.yaml b/packages/package_info/example/pubspec.yaml
index dd0bae1..0d0e1ba 100644
--- a/packages/package_info/example/pubspec.yaml
+++ b/packages/package_info/example/pubspec.yaml
@@ -5,6 +5,11 @@
flutter:
sdk: flutter
package_info:
+ # When depending on this package from a real application you should use:
+ # package_info: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
integration_test:
path: ../../integration_test
diff --git a/packages/path_provider/path_provider/example/pubspec.yaml b/packages/path_provider/path_provider/example/pubspec.yaml
index 98a0fd3..bbb140e 100644
--- a/packages/path_provider/path_provider/example/pubspec.yaml
+++ b/packages/path_provider/path_provider/example/pubspec.yaml
@@ -5,6 +5,11 @@
flutter:
sdk: flutter
path_provider:
+ # When depending on this package from a real application you should use:
+ # path_provider: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
dev_dependencies:
diff --git a/packages/path_provider/path_provider_linux/example/pubspec.yaml b/packages/path_provider/path_provider_linux/example/pubspec.yaml
index d66af91..a1a9dde 100644
--- a/packages/path_provider/path_provider_linux/example/pubspec.yaml
+++ b/packages/path_provider/path_provider_linux/example/pubspec.yaml
@@ -17,6 +17,11 @@
dependency_overrides:
path_provider_linux:
+ # When depending on this package from a real application you should use:
+ # path_provider_linux: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
dev_dependencies:
diff --git a/packages/path_provider/path_provider_macos/example/pubspec.yaml b/packages/path_provider/path_provider_macos/example/pubspec.yaml
index f1363cb..cb904fa 100644
--- a/packages/path_provider/path_provider_macos/example/pubspec.yaml
+++ b/packages/path_provider/path_provider_macos/example/pubspec.yaml
@@ -10,6 +10,11 @@
# to depend on it from path:
dependency_overrides:
path_provider_macos:
+ # When depending on this package from a real application you should use:
+ # path_provider_macos: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
dev_dependencies:
diff --git a/packages/path_provider/path_provider_windows/example/pubspec.yaml b/packages/path_provider/path_provider_windows/example/pubspec.yaml
index 1d2b9a7..7a34d90 100644
--- a/packages/path_provider/path_provider_windows/example/pubspec.yaml
+++ b/packages/path_provider/path_provider_windows/example/pubspec.yaml
@@ -8,6 +8,11 @@
dependency_overrides:
path_provider_windows:
+ # When depending on this package from a real application you should use:
+ # path_provider_windows: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
dev_dependencies:
diff --git a/packages/quick_actions/example/pubspec.yaml b/packages/quick_actions/example/pubspec.yaml
index 03fc294..deba400 100644
--- a/packages/quick_actions/example/pubspec.yaml
+++ b/packages/quick_actions/example/pubspec.yaml
@@ -5,6 +5,11 @@
flutter:
sdk: flutter
quick_actions:
+ # When depending on this package from a real application you should use:
+ # quick_actions: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
dev_dependencies:
diff --git a/packages/sensors/example/pubspec.yaml b/packages/sensors/example/pubspec.yaml
index 2cd1397..d4702ac 100644
--- a/packages/sensors/example/pubspec.yaml
+++ b/packages/sensors/example/pubspec.yaml
@@ -5,6 +5,11 @@
flutter:
sdk: flutter
sensors:
+ # When depending on this package from a real application you should use:
+ # sensors: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
dev_dependencies:
diff --git a/packages/share/example/pubspec.yaml b/packages/share/example/pubspec.yaml
index b96141d..372633e 100644
--- a/packages/share/example/pubspec.yaml
+++ b/packages/share/example/pubspec.yaml
@@ -5,6 +5,11 @@
flutter:
sdk: flutter
share:
+ # When depending on this package from a real application you should use:
+ # share: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
image_picker: ^0.6.7+4
diff --git a/packages/shared_preferences/shared_preferences/example/pubspec.yaml b/packages/shared_preferences/shared_preferences/example/pubspec.yaml
index 2033001..05f2528 100644
--- a/packages/shared_preferences/shared_preferences/example/pubspec.yaml
+++ b/packages/shared_preferences/shared_preferences/example/pubspec.yaml
@@ -5,6 +5,11 @@
flutter:
sdk: flutter
shared_preferences:
+ # When depending on this package from a real application you should use:
+ # shared_preferences: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
dev_dependencies:
diff --git a/packages/shared_preferences/shared_preferences_linux/example/pubspec.yaml b/packages/shared_preferences/shared_preferences_linux/example/pubspec.yaml
index 5728a91..5fc8ae0 100644
--- a/packages/shared_preferences/shared_preferences_linux/example/pubspec.yaml
+++ b/packages/shared_preferences/shared_preferences_linux/example/pubspec.yaml
@@ -5,6 +5,11 @@
flutter:
sdk: flutter
shared_preferences_linux:
+ # When depending on this package from a real application you should use:
+ # shared_preferences_linux: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
dev_dependencies:
diff --git a/packages/shared_preferences/shared_preferences_macos/example/pubspec.yaml b/packages/shared_preferences/shared_preferences_macos/example/pubspec.yaml
index 446dc8e..5543b4a 100644
--- a/packages/shared_preferences/shared_preferences_macos/example/pubspec.yaml
+++ b/packages/shared_preferences/shared_preferences_macos/example/pubspec.yaml
@@ -6,6 +6,11 @@
sdk: flutter
shared_preferences: any
shared_preferences_macos:
+ # When depending on this package from a real application you should use:
+ # shared_preferences_macos: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
dev_dependencies:
diff --git a/packages/shared_preferences/shared_preferences_windows/example/pubspec.yaml b/packages/shared_preferences/shared_preferences_windows/example/pubspec.yaml
index 8a44e78..1af679b 100644
--- a/packages/shared_preferences/shared_preferences_windows/example/pubspec.yaml
+++ b/packages/shared_preferences/shared_preferences_windows/example/pubspec.yaml
@@ -11,6 +11,11 @@
dependency_overrides:
shared_preferences_windows:
+ # When depending on this package from a real application you should use:
+ # shared_preferences_windows: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
dev_dependencies:
diff --git a/packages/url_launcher/url_launcher/example/pubspec.yaml b/packages/url_launcher/url_launcher/example/pubspec.yaml
index 27e0974..520b686 100644
--- a/packages/url_launcher/url_launcher/example/pubspec.yaml
+++ b/packages/url_launcher/url_launcher/example/pubspec.yaml
@@ -5,6 +5,11 @@
flutter:
sdk: flutter
url_launcher:
+ # When depending on this package from a real application you should use:
+ # url_launcher: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
dev_dependencies:
diff --git a/packages/url_launcher/url_launcher_linux/example/pubspec.yaml b/packages/url_launcher/url_launcher_linux/example/pubspec.yaml
index a0bb317..e95bcd0 100644
--- a/packages/url_launcher/url_launcher_linux/example/pubspec.yaml
+++ b/packages/url_launcher/url_launcher_linux/example/pubspec.yaml
@@ -6,6 +6,11 @@
sdk: flutter
url_launcher: any
url_launcher_linux:
+ # When depending on this package from a real application you should use:
+ # url_launcher_linux: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
dev_dependencies:
diff --git a/packages/url_launcher/url_launcher_macos/example/pubspec.yaml b/packages/url_launcher/url_launcher_macos/example/pubspec.yaml
index 19952ff..2e66616 100644
--- a/packages/url_launcher/url_launcher_macos/example/pubspec.yaml
+++ b/packages/url_launcher/url_launcher_macos/example/pubspec.yaml
@@ -6,6 +6,11 @@
sdk: flutter
url_launcher: any
url_launcher_macos:
+ # When depending on this package from a real application you should use:
+ # url_launcher_macos: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
dev_dependencies:
diff --git a/packages/url_launcher/url_launcher_windows/example/pubspec.yaml b/packages/url_launcher/url_launcher_windows/example/pubspec.yaml
index 3ffbe4b..2de2bcf 100644
--- a/packages/url_launcher/url_launcher_windows/example/pubspec.yaml
+++ b/packages/url_launcher/url_launcher_windows/example/pubspec.yaml
@@ -6,6 +6,11 @@
sdk: flutter
url_launcher_platform_interface: any
url_launcher_windows:
+ # When depending on this package from a real application you should use:
+ # url_launcher_windows: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
dev_dependencies:
diff --git a/packages/video_player/video_player/example/pubspec.yaml b/packages/video_player/video_player/example/pubspec.yaml
index 6a3d218..620186a 100644
--- a/packages/video_player/video_player/example/pubspec.yaml
+++ b/packages/video_player/video_player/example/pubspec.yaml
@@ -7,6 +7,11 @@
flutter:
sdk: flutter
video_player:
+ # When depending on this package from a real application you should use:
+ # video_player: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
dev_dependencies:
diff --git a/packages/webview_flutter/example/pubspec.yaml b/packages/webview_flutter/example/pubspec.yaml
index 1ace8af..b61b6df 100644
--- a/packages/webview_flutter/example/pubspec.yaml
+++ b/packages/webview_flutter/example/pubspec.yaml
@@ -8,6 +8,11 @@
flutter:
sdk: flutter
webview_flutter:
+ # When depending on this package from a real application you should use:
+ # webview_flutter: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
dev_dependencies:
diff --git a/packages/wifi_info_flutter/wifi_info_flutter/example/pubspec.yaml b/packages/wifi_info_flutter/wifi_info_flutter/example/pubspec.yaml
index 7ebc157..0f0adbf 100644
--- a/packages/wifi_info_flutter/wifi_info_flutter/example/pubspec.yaml
+++ b/packages/wifi_info_flutter/wifi_info_flutter/example/pubspec.yaml
@@ -10,6 +10,11 @@
flutter:
sdk: flutter
wifi_info_flutter:
+ # When depending on this package from a real application you should use:
+ # wifi_info_flutter: ^x.y.z
+ # See https://dart.dev/tools/pub/dependencies#version-constraints
+ # The example app is bundled with the plugin so we use a path dependency on
+ # the parent directory to use the current plugin's version.
path: ../
cupertino_icons: ^1.0.0